#0F7212#0F7212
#0F7212 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.1% C 0.154 H 143.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #0F7212 |
|---|---|
| RGB | rgb(15, 114, 18) |
| HSL | hsl(122, 77%, 25%) |
| HSV | hsv(122, 87%, 45%) |
| CMYK | cmyk(86.8%, 0%, 84.2%, 55.3%) |
| CIE-LAB | lab(41.50, -45.24, 41.62) |
| CIE-LCH | lch(41.50, 61.48, 137.39°) |
| OKLab | oklab(48.09% -0.1227 0.0926) |
| OKLCH | oklch(48.09% 0.154 143) |
| XYZ | xyz(6.3231, 12.1791, 2.5897) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.61
Darkgreen
#006400
ΔE00 4.64
Green
#008000
ΔE00 5.15
Darkish Green
#287C37
ΔE00 5.74
Dark Grass Green
#388004
ΔE00 6.72
Deep Green
#02590F
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F7212 #720F6F
analogous
#3E720F #0F7212 #0F7243
triadic
#0F7212 #120F72 #72120F
tetradic
#0F7212 #0F3E72 #720F6F #72430F
square
#0F7212 #0F3E72 #720F6F #72430F
split-complementary
#0F7212 #430F72 #720F3E
monochromatic
#041B04 #083C09 #0F7212 #16A81B #1DDE23
Accessibility & contrast
On white
6.11
#0F7212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#0F7212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0F7212
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F7212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F7212 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #0f7212; /* rgb */ color: rgb(15, 114, 18); /* oklch */ color: oklch(48.1% 0.154 143.0);
Tailwind
colors: {
custom: {
50: '#649c59',
500: '#0f7212',
950: '#000000',
},
}SCSS
$custom: #0f7212; $custom-light: #649c59; $custom-dark: #000000;
JSON
{
"hex": "#0f7212",
"rgb": {
"r": 15,
"g": 114,
"b": 18
},
"hsl": {
"h": 121.818,
"s": 76.744,
"l": 25.294
},
"oklch": {
"l": 0.48094,
"c": 0.15368,
"h": 143
},
"luminance": 0.1218
}Semantic roles & 50–950 ramp
primary
#0F7212
secondary
#AA33A6
accent
#35EEF3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79