Skip to content

#008015 Color

#008015 is rgb(0, 128, 21) in RGB, hsl(130, 100%, 25%) in HSL, and about cmyk(100%, 0%, 84%, 50%) in CMYK. It has no registered color name of its own — the closest is Xbox Green (#0E7A0D), very hard to tell apart at ΔE 3.23. White text is the more readable choice on this background.

#008015
HEX#008015
RGBrgb(0, 128, 21)
HSLhsl(130, 100%, 25%)
HSVhsv(130, 100%, 50%)
CMYKcmyk(100%, 0%, 84%, 50%)
OKLCHoklch(52.1% 0.17 143.8)
LABlab(46.34% -46.87 44.06)
LCHlch(46.34% 64.33 136.77)

What #008015 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #008015, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every green in the library.

#008015 Channel Values

How #008015 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 128 · B 218-bit channels as sent to the display
HSLH 130° · S 100% · L 25%Easiest model for building lighter and darker variants
HSVH 130° · S 100% · V 50%Matches the picker in most design tools
CMYKC 100% · M 0% · Y 84% · K 50%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.12:1 vs white · 4.1:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #008015 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text5.12:1AA normal AA large AAA normal
Fails AABlack text4.1:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #008015 in the contrast checker.

Colors That Go With #008015

Pairings derived from color-wheel relationships. The complementary color sits opposite #008015; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #008015

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #008015.

How #008015 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#008015
Protanopia#757517
Protanomaly#5C7A16
Deuteranopia#6A6A1F
Deuteranomaly#53731B
Tritanopia#2D7979
Tritanomaly#227C60
Achromatopsia#6E6E6E

Test a full palette in the color blindness simulator.

Using #008015 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-008015: #008015;
CSS backgroundbackground-color: #008015;
Tailwind configcolors: { 'color-008015': '#008015' }
SwiftUIColor(red: 0.000, green: 0.502, blue: 0.082)
Android XML<color name="color_008015">#008015</color>
SVG fillfill="#008015"

More Green Colors

#008015 sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#008015 Frequently Asked Questions

What color is #008015?

#008015 is a dark green — rgb(0, 128, 21) in RGB and hsl(130, 100%, 25%) in HSL. It carries no registered color name of its own; the closest named color is Xbox Green (#0E7A0D), which is very hard to tell apart at a CIE76 distance of 3.23.

What is the RGB value of #008015?

#008015 is rgb(0, 128, 21) — red 0, green 128, and blue 21 on the 0-255 scale.

What is the CMYK value of #008015?

#008015 converts to approximately cmyk(100%, 0%, 84%, 50%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #008015 be black or white?

White text is the more readable choice. #008015 scores 5.12:1 against white and 4.1:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #008015 as a CSS color keyword?

No. #008015 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is forestgreen (#228B22) at a CIE76 distance of 4.46, which is very hard to tell apart.

Open #008015 in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.