#0F7017#0F7017
#0F7017 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.5% C 0.149 H 143.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #0F7017 |
|---|---|
| RGB | rgb(15, 112, 23) |
| HSL | hsl(125, 76%, 25%) |
| HSV | hsv(125, 87%, 44%) |
| CMYK | cmyk(86.6%, 0%, 79.5%, 56.1%) |
| CIE-LAB | lab(40.82, -44.22, 39.25) |
| CIE-LCH | lch(40.82, 59.13, 138.41°) |
| OKLab | oklab(47.54% -0.1197 0.0884) |
| OKLCH | oklch(47.54% 0.149 143.6) |
| XYZ | xyz(6.1454, 11.7510, 2.7547) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.14
Tree Green
#2A7E19
ΔE00 5.39
Darkish Green
#287C37
ΔE00 5.69
Green
#008000
ΔE00 6.07
Deep Green
#02590F
ΔE00 7.54
Dark Grass Green
#388004
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F7017 #700F68
analogous
#38700F #0F7017 #0F7047
triadic
#0F7017 #170F70 #70170F
tetradic
#0F7017 #0F3870 #700F68 #70470F
square
#0F7017 #0F3870 #700F68 #70470F
split-complementary
#0F7017 #470F70 #700F38
monochromatic
#041B06 #083A0C #0F7017 #16A622 #1DDC2D
Accessibility & contrast
On white
6.27
#0F7017 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#0F7017 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0F7017
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F7017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F7017 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726504
Deuteranopia (green-blind)
#685E21
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #0f7017; /* rgb */ color: rgb(15, 112, 23); /* oklch */ color: oklch(47.5% 0.149 143.6);
Tailwind
colors: {
custom: {
50: '#639a5b',
500: '#0f7017',
950: '#000000',
},
}SCSS
$custom: #0f7017; $custom-light: #639a5b; $custom-dark: #000000;
JSON
{
"hex": "#0f7017",
"rgb": {
"r": 15,
"g": 112,
"b": 23
},
"hsl": {
"h": 124.948,
"s": 76.378,
"l": 24.902
},
"oklch": {
"l": 0.47536,
"c": 0.14875,
"h": 143.6
},
"luminance": 0.11752
}Semantic roles & 50–950 ramp
primary
#0F7017
secondary
#A8339E
accent
#35E3F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79