#0F8E1B#0F8E1B
#0F8E1B is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.180 H 143.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #0F8E1B |
|---|---|
| RGB | rgb(15, 142, 27) |
| HSL | hsl(126, 81%, 31%) |
| HSV | hsv(126, 89%, 56%) |
| CMYK | cmyk(89.4%, 0%, 81%, 44.3%) |
| CIE-LAB | lab(51.30, -53.50, 48.05) |
| CIE-LCH | lch(51.30, 71.91, 138.07°) |
| OKLab | oklab(56.27% -0.1448 0.1073) |
| OKLCH | oklch(56.27% 0.18 143.5) |
| XYZ | xyz(10.0671, 19.5254, 4.2749) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.57
Forestgreen (CSS)
#228B22
ΔE00 1.40
Irish Green
#019529
ΔE00 2.69
True Green
#089404
ΔE00 2.70
Kelley Green
#009337
ΔE00 3.77
Green
#008000
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F8E1B #8E0F82
analogous
#428E0F #0F8E1B #0F8E5A
triadic
#0F8E1B #1B0F8E #8E1B0F
tetradic
#0F8E1B #0F428E #8E0F82 #8E5A0F
square
#0F8E1B #0F428E #8E0F82 #8E5A0F
split-complementary
#0F8E1B #5A0F8E #8E0F42
monochromatic
#031F06 #095710 #0F8E1B #15C526 #2EE940
Accessibility & contrast
On white
4.28
#0F8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#0F8E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #0F8E1B
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F8E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##0F8E1B | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #0f8e1b; /* rgb */ color: rgb(15, 142, 27); /* oklch */ color: oklch(56.3% 0.180 143.5);
Tailwind
colors: {
custom: {
50: '#6cb061',
500: '#0f8e1b',
950: '#000000',
},
}SCSS
$custom: #0f8e1b; $custom-light: #6cb061; $custom-dark: #000000;
JSON
{
"hex": "#0f8e1b",
"rgb": {
"r": 15,
"g": 142,
"b": 27
},
"hsl": {
"h": 125.669,
"s": 80.892,
"l": 30.784
},
"oklch": {
"l": 0.56272,
"c": 0.18018,
"h": 143.5
},
"luminance": 0.19527
}Semantic roles & 50–950 ramp
primary
#0F8E1B
secondary
#C336B6
accent
#31E5F7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A