#0F512C#0F512C
#0F512C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.090 H 153.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #0F512C |
|---|---|
| RGB | rgb(15, 81, 44) |
| HSL | hsl(146, 69%, 19%) |
| HSV | hsv(146, 81%, 32%) |
| CMYK | cmyk(81.5%, 0%, 45.7%, 68.2%) |
| CIE-LAB | lab(29.83, -29.73, 16.14) |
| CIE-LCH | lch(29.83, 33.83, 151.50°) |
| OKLab | oklab(38.5% -0.0801 0.04) |
| OKLCH | oklch(38.5% 0.09 153.4) |
| XYZ | xyz(3.5937, 6.1678, 3.3835) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.43
Evergreen
#05472A
ΔE00 3.73
Spruce
#0A5F38
ΔE00 4.54
Pine
#2B5D34
ΔE00 4.78
Forest Green
#2D5A27
ΔE00 5.98
Hunter Green
#355E3B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F512C #510F34
analogous
#13510F #0F512C #0F514D
triadic
#0F512C #2C0F51 #512C0F
tetradic
#0F512C #0F1351 #510F34 #514D0F
square
#0F512C #0F1351 #510F34 #514D0F
split-complementary
#0F512C #4D0F51 #510F13
monochromatic
#051A0E #051D10 #0F512C #198548 #22B864
Accessibility & contrast
On white
9.40
#0F512C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#0F512C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F512C
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F512C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F512C | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A29
Deuteranopia (green-blind)
#49442F
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f512c; /* rgb */ color: rgb(15, 81, 44); /* oklch */ color: oklch(38.5% 0.090 153.4);
Tailwind
colors: {
custom: {
50: '#598265',
500: '#0f512c',
950: '#000000',
},
}SCSS
$custom: #0f512c; $custom-light: #598265; $custom-dark: #000000;
JSON
{
"hex": "#0f512c",
"rgb": {
"r": 15,
"g": 81,
"b": 44
},
"hsl": {
"h": 146.364,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38499,
"c": 0.08952,
"h": 153.4
},
"luminance": 0.06168
}Semantic roles & 50–950 ramp
primary
#0F512C
secondary
#8B3163
accent
#3C9FEC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A