#0F7F1C#0F7F1C
#0F7F1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.163 H 143.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #0F7F1C |
|---|---|
| RGB | rgb(15, 127, 28) |
| HSL | hsl(127, 79%, 28%) |
| HSV | hsv(127, 88%, 50%) |
| CMYK | cmyk(88.2%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.13, -48.71, 42.67) |
| CIE-LCH | lch(46.13, 64.76, 138.78°) |
| OKLab | oklab(51.97% -0.1317 0.0962) |
| OKLCH | oklch(51.97% 0.163 143.8) |
| XYZ | xyz(7.9954, 15.3631, 3.6424) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.93
Green
#008000
ΔE00 2.22
Darkish Green
#287C37
ΔE00 4.47
Forestgreen (CSS)
#228B22
ΔE00 4.49
Dark Grass Green
#388004
ΔE00 4.59
Emerald Green
#028F1E
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F7F1C #7F0F72
analogous
#3A7F0F #0F7F1C #0F7F54
triadic
#0F7F1C #1C0F7F #7F1C0F
tetradic
#0F7F1C #0F3A7F #7F0F72 #7F540F
square
#0F7F1C #0F3A7F #7F0F72 #7F540F
split-complementary
#0F7F1C #540F7F #7F0F3A
monochromatic
#031B06 #094810 #0F7F1C #15B628 #23E53A
Accessibility & contrast
On white
5.16
#0F7F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#0F7F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0F7F1C
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F7F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F7F1C | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827207
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #0f7f1c; /* rgb */ color: rgb(15, 127, 28); /* oklch */ color: oklch(52.0% 0.163 143.8);
Tailwind
colors: {
custom: {
50: '#67a560',
500: '#0f7f1c',
950: '#000000',
},
}SCSS
$custom: #0f7f1c; $custom-light: #67a560; $custom-dark: #000000;
JSON
{
"hex": "#0f7f1c",
"rgb": {
"r": 15,
"g": 127,
"b": 28
},
"hsl": {
"h": 126.964,
"s": 78.873,
"l": 27.843
},
"oklch": {
"l": 0.51968,
"c": 0.16307,
"h": 143.8
},
"luminance": 0.15364
}Semantic roles & 50–950 ramp
primary
#0F7F1C
secondary
#B534A6
accent
#32DFF5
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79