#0F7018#0F7018
#0F7018 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.5% C 0.148 H 143.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #0F7018 |
|---|---|
| RGB | rgb(15, 112, 24) |
| HSL | hsl(126, 76%, 25%) |
| HSV | hsv(126, 87%, 44%) |
| CMYK | cmyk(86.6%, 0%, 78.6%, 56.1%) |
| CIE-LAB | lab(40.82, -44.14, 38.88) |
| CIE-LCH | lch(40.82, 58.82, 138.63°) |
| OKLab | oklab(47.54% -0.1194 0.0877) |
| OKLCH | oklch(47.54% 0.148 143.7) |
| XYZ | xyz(6.1556, 11.7551, 2.8085) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.19
Tree Green
#2A7E19
ΔE00 5.43
Darkish Green
#287C37
ΔE00 5.61
Green
#008000
ΔE00 6.13
Deep Green
#02590F
ΔE00 7.52
Dark Grass Green
#388004
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F7018 #700F67
analogous
#37700F #0F7018 #0F7049
triadic
#0F7018 #180F70 #70180F
tetradic
#0F7018 #0F3770 #700F67 #70490F
square
#0F7018 #0F3770 #700F67 #70490F
split-complementary
#0F7018 #490F70 #700F37
monochromatic
#041B06 #083A0C #0F7018 #16A624 #1DDC2F
Accessibility & contrast
On white
6.27
#0F7018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#0F7018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0F7018
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F7018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F7018 | 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)
#726506
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #0f7018; /* rgb */ color: rgb(15, 112, 24); /* oklch */ color: oklch(47.5% 0.148 143.7);
Tailwind
colors: {
custom: {
50: '#639a5c',
500: '#0f7018',
950: '#000000',
},
}SCSS
$custom: #0f7018; $custom-light: #639a5c; $custom-dark: #000000;
JSON
{
"hex": "#0f7018",
"rgb": {
"r": 15,
"g": 112,
"b": 24
},
"hsl": {
"h": 125.567,
"s": 76.378,
"l": 24.902
},
"oklch": {
"l": 0.47544,
"c": 0.14816,
"h": 143.7
},
"luminance": 0.11756
}Semantic roles & 50–950 ramp
primary
#0F7018
secondary
#A8339D
accent
#35E1F3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79