#0F7F1D#0F7F1D
#0F7F1D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.162 H 144.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #0F7F1D |
|---|---|
| RGB | rgb(15, 127, 29) |
| HSL | hsl(128, 79%, 28%) |
| HSV | hsv(128, 88%, 50%) |
| CMYK | cmyk(88.2%, 0%, 77.2%, 50.2%) |
| CIE-LAB | lab(46.13, -48.63, 42.31) |
| CIE-LCH | lch(46.13, 64.46, 138.97°) |
| OKLab | oklab(51.98% -0.1314 0.0956) |
| OKLCH | oklch(51.98% 0.162 144) |
| XYZ | xyz(8.0076, 15.3680, 3.7064) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.00
Green
#008000
ΔE00 2.34
Darkish Green
#287C37
ΔE00 4.37
Forestgreen (CSS)
#228B22
ΔE00 4.51
Dark Grass Green
#388004
ΔE00 4.68
Emerald Green
#028F1E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F7F1D #7F0F71
analogous
#397F0F #0F7F1D #0F7F55
triadic
#0F7F1D #1D0F7F #7F1D0F
tetradic
#0F7F1D #0F397F #7F0F71 #7F550F
square
#0F7F1D #0F397F #7F0F71 #7F550F
split-complementary
#0F7F1D #550F7F #7F0F39
monochromatic
#031B06 #094811 #0F7F1D #15B629 #23E53C
Accessibility & contrast
On white
5.15
#0F7F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#0F7F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0F7F1D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F7F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F7F1D | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #0f7f1d; /* rgb */ color: rgb(15, 127, 29); /* oklch */ color: oklch(52.0% 0.162 144.0);
Tailwind
colors: {
custom: {
50: '#67a560',
500: '#0f7f1d',
950: '#000000',
},
}SCSS
$custom: #0f7f1d; $custom-light: #67a560; $custom-dark: #000000;
JSON
{
"hex": "#0f7f1d",
"rgb": {
"r": 15,
"g": 127,
"b": 29
},
"hsl": {
"h": 127.5,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.51975,
"c": 0.16249,
"h": 144
},
"luminance": 0.15369
}Semantic roles & 50–950 ramp
primary
#0F7F1D
secondary
#B534A5
accent
#32DDF5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79