#0F512D#0F512D
#0F512D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.088 H 154.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #0F512D |
|---|---|
| RGB | rgb(15, 81, 45) |
| HSL | hsl(147, 69%, 19%) |
| HSV | hsv(147, 81%, 32%) |
| CMYK | cmyk(81.5%, 0%, 44.4%, 68.2%) |
| CIE-LAB | lab(29.85, -29.52, 15.56) |
| CIE-LCH | lch(29.85, 33.37, 152.20°) |
| OKLab | oklab(38.52% -0.0795 0.0387) |
| OKLCH | oklch(38.52% 0.088 154.1) |
| XYZ | xyz(3.6128, 6.1755, 3.4837) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.57
Pine Green
#0A481E
ΔE00 3.61
Spruce
#0A5F38
ΔE00 4.52
Pine
#2B5D34
ΔE00 4.85
Hunter Green
#355E3B
ΔE00 6.04
Forest Green
#2D5A27
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F512D #510F33
analogous
#12510F #0F512D #0F514E
triadic
#0F512D #2D0F51 #512D0F
tetradic
#0F512D #0F1251 #510F33 #514E0F
square
#0F512D #0F1251 #510F33 #514E0F
split-complementary
#0F512D #4E0F51 #510F12
monochromatic
#051A0E #051D10 #0F512D #19854A #22B866
Accessibility & contrast
On white
9.40
#0F512D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#0F512D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F512D
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F512D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F512D | 1.00 | 9.40 | 2.24 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2A
Deuteranopia (green-blind)
#49442F
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f512d; /* rgb */ color: rgb(15, 81, 45); /* oklch */ color: oklch(38.5% 0.088 154.1);
Tailwind
colors: {
custom: {
50: '#598266',
500: '#0f512d',
950: '#000000',
},
}SCSS
$custom: #0f512d; $custom-light: #598266; $custom-dark: #000000;
JSON
{
"hex": "#0f512d",
"rgb": {
"r": 15,
"g": 81,
"b": 45
},
"hsl": {
"h": 147.273,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38521,
"c": 0.08846,
"h": 154.1
},
"luminance": 0.06176
}Semantic roles & 50–950 ramp
primary
#0F512D
secondary
#8B3162
accent
#3C9CEC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A