Skip to content

#008F1F Color

#008F1F is rgb(0, 143, 31) in RGB, hsl(133, 100%, 28%) in HSL, and about cmyk(100%, 0%, 78%, 44%) in CMYK. It has no registered color name of its own — the closest is India Green (#138808), clearly related but distinguishable side by side at ΔE 5.07. Black text is the more readable choice on this background.

#008F1F
HEX#008F1F
RGBrgb(0, 143, 31)
HSLhsl(133, 100%, 28%)
HSVhsv(133, 100%, 56%)
CMYKcmyk(100%, 0%, 78%, 44%)
OKLCHoklch(56.5% 0.181 144.4)
LABlab(51.58% -50.47 45.82)
LCHlch(51.58% 68.16 137.77)

What #008F1F 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 #008F1F, 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.

#008F1F Channel Values

How #008F1F 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 143 · B 318-bit channels as sent to the display
HSLH 133° · S 100% · L 28%Easiest model for building lighter and darker variants
HSVH 133° · S 100% · V 56%Matches the picker in most design tools
CMYKC 100% · M 0% · Y 78% · K 44%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.24:1 vs white · 4.95:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #008F1F 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.

Fails AAWhite text4.24:1AA normal AA large AAA normal
TextBlack text4.95:1AA normal AA large AAA normal

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

Colors That Go With #008F1F

Pairings derived from color-wheel relationships. The complementary color sits opposite #008F1F; 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 #008F1F

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 #008F1F.

How #008F1F 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#008F1F
Protanopia#838321
Protanomaly#678820
Deuteranopia#777728
Deuteranomaly#5D8125
Tritanopia#338787
Tritanomaly#278A6C
Achromatopsia#7B7B7B

Test a full palette in the color blindness simulator.

Using #008F1F in Code

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

CSS custom property--color-008f1f: #008F1F;
CSS backgroundbackground-color: #008F1F;
Tailwind configcolors: { 'color-008f1f': '#008F1F' }
SwiftUIColor(red: 0.000, green: 0.561, blue: 0.122)
Android XML<color name="color_008f1f">#008F1F</color>
SVG fillfill="#008F1F"

More Green Colors

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

#008F1F Frequently Asked Questions

What color is #008F1F?

#008F1F is a dark green — rgb(0, 143, 31) in RGB and hsl(133, 100%, 28%) in HSL. It carries no registered color name of its own; the closest named color is India Green (#138808), which is clearly related but distinguishable side by side at a CIE76 distance of 5.07.

What is the RGB value of #008F1F?

#008F1F is rgb(0, 143, 31) — red 0, green 143, and blue 31 on the 0-255 scale.

What is the CMYK value of #008F1F?

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

Should text on #008F1F be black or white?

Black text is the more readable choice. #008F1F scores 4.24:1 against white and 4.95:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #008F1F as a CSS color keyword?

No. #008F1F 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 5.16, which is clearly related but distinguishable side by side.

Open #008F1F in a Tool

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