#0F542C#0F542C
#0F542C is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.094 H 152.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #0F542C |
|---|---|
| RGB | rgb(15, 84, 44) |
| HSL | hsl(145, 70%, 19%) |
| HSV | hsv(145, 82%, 33%) |
| CMYK | cmyk(82.1%, 0%, 47.6%, 67.1%) |
| CIE-LAB | lab(30.93, -31.01, 17.58) |
| CIE-LCH | lch(30.93, 35.64, 150.46°) |
| OKLab | oklab(39.41% -0.0834 0.0434) |
| OKLCH | oklch(39.41% 0.094 152.5) |
| XYZ | xyz(3.8216, 6.6236, 3.4595) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.73
Pine Green
#0A481E
ΔE00 3.96
Pine
#2B5D34
ΔE00 4.03
Evergreen
#05472A
ΔE00 4.88
Forest Green
#2D5A27
ΔE00 5.21
Hunter Green
#355E3B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F542C #540F37
analogous
#15540F #0F542C #0F544F
triadic
#0F542C #2C0F54 #542C0F
tetradic
#0F542C #0F1554 #540F37 #544F0F
square
#0F542C #0F1554 #540F37 #544F0F
split-complementary
#0F542C #4F0F54 #540F15
monochromatic
#051A0E #062011 #0F542C #188847 #22BC62
Accessibility & contrast
On white
9.03
#0F542C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#0F542C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F542C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F542C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F542C | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#4C472F
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0f542c; /* rgb */ color: rgb(15, 84, 44); /* oklch */ color: oklch(39.4% 0.094 152.5);
Tailwind
colors: {
custom: {
50: '#5a8565',
500: '#0f542c',
950: '#000000',
},
}SCSS
$custom: #0f542c; $custom-light: #5a8565; $custom-dark: #000000;
JSON
{
"hex": "#0f542c",
"rgb": {
"r": 15,
"g": 84,
"b": 44
},
"hsl": {
"h": 145.217,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.3941,
"c": 0.09402,
"h": 152.5
},
"luminance": 0.06624
}Semantic roles & 50–950 ramp
primary
#0F542C
secondary
#8E3167
accent
#3BA2ED
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A