#0F6817#0F6817
#0F6817 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.139 H 143.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #0F6817 |
|---|---|
| RGB | rgb(15, 104, 23) |
| HSL | hsl(125, 75%, 23%) |
| HSV | hsv(125, 86%, 41%) |
| CMYK | cmyk(85.6%, 0%, 77.9%, 59.2%) |
| CIE-LAB | lab(37.96, -41.53, 36.38) |
| CIE-LCH | lch(37.96, 55.21, 138.78°) |
| OKLab | oklab(45.16% -0.1123 0.0824) |
| OKLCH | oklch(45.16% 0.139 143.7) |
| XYZ | xyz(5.3016, 10.0634, 2.4735) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.41
Deep Green
#02590F
ΔE00 4.84
Forest
#0B5509
ΔE00 6.05
Forest Green
#2D5A27
ΔE00 6.97
Darkish Green
#287C37
ΔE00 7.52
Tree Green
#2A7E19
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F6817 #680F60
analogous
#33680F #0F6817 #0F6843
triadic
#0F6817 #170F68 #68170F
tetradic
#0F6817 #0F3368 #680F60 #68430F
square
#0F6817 #0F3368 #680F60 #68430F
split-complementary
#0F6817 #430F68 #680F33
monochromatic
#041B06 #07330B #0F6817 #179D23 #1ED32F
Accessibility & contrast
On white
6.97
#0F6817 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#0F6817 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0F6817
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F6817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F6817 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #0f6817; /* rgb */ color: rgb(15, 104, 23); /* oklch */ color: oklch(45.2% 0.139 143.7);
Tailwind
colors: {
custom: {
50: '#61945a',
500: '#0f6817',
950: '#000000',
},
}SCSS
$custom: #0f6817; $custom-light: #61945a; $custom-dark: #000000;
JSON
{
"hex": "#0f6817",
"rgb": {
"r": 15,
"g": 104,
"b": 23
},
"hsl": {
"h": 125.393,
"s": 74.79,
"l": 23.333
},
"oklch": {
"l": 0.45155,
"c": 0.13931,
"h": 143.7
},
"luminance": 0.10064
}Semantic roles & 50–950 ramp
primary
#0F6817
secondary
#A13297
accent
#36E1F1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79