#0C512B#0C512B
#0C512B is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.092 H 153.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #0C512B |
|---|---|
| RGB | rgb(12, 81, 43) |
| HSL | hsl(147, 74%, 18%) |
| HSV | hsv(147, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 46.9%, 68.2%) |
| CIE-LAB | lab(29.76, -30.40, 16.64) |
| CIE-LCH | lch(29.76, 34.66, 151.32°) |
| OKLab | oklab(38.41% -0.0818 0.0411) |
| OKLCH | oklch(38.41% 0.092 153.3) |
| XYZ | xyz(3.5298, 6.1370, 3.2836) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.30
Evergreen
#05472A
ΔE00 3.87
Spruce
#0A5F38
ΔE00 4.53
Pine
#2B5D34
ΔE00 4.85
Forest Green
#2D5A27
ΔE00 5.94
British Racing Green
#05480D
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C512B #510C32
analogous
#0F510C #0C512B #0C514D
triadic
#0C512B #2B0C51 #512B0C
tetradic
#0C512B #0C0F51 #510C32 #514D0C
square
#0C512B #0C0F51 #510C32 #514D0C
split-complementary
#0C512B #4D0C51 #510C0F
monochromatic
#041B0E #041C0F #0C512B #148647 #1CBC64
Accessibility & contrast
On white
9.43
#0C512B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#0C512B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C512B
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C512B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C512B | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514928
Deuteranopia (green-blind)
#49442E
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0c512b; /* rgb */ color: rgb(12, 81, 43); /* oklch */ color: oklch(38.4% 0.092 153.3);
Tailwind
colors: {
custom: {
50: '#588265',
500: '#0c512b',
950: '#000000',
},
}SCSS
$custom: #0c512b; $custom-light: #588265; $custom-dark: #000000;
JSON
{
"hex": "#0c512b",
"rgb": {
"r": 12,
"g": 81,
"b": 43
},
"hsl": {
"h": 146.957,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38413,
"c": 0.09154,
"h": 153.3
},
"luminance": 0.06137
}Semantic roles & 50–950 ramp
primary
#0C512B
secondary
#8C2C61
accent
#379DF1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A