#0C552A#0C552A
#0C552A is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.098 H 151.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #0C552A |
|---|---|
| RGB | rgb(12, 85, 42) |
| HSL | hsl(145, 75%, 19%) |
| HSV | hsv(145, 86%, 33%) |
| CMYK | cmyk(85.9%, 0%, 50.6%, 66.7%) |
| CIE-LAB | lab(31.21, -32.27, 19.11) |
| CIE-LCH | lch(31.21, 37.50, 149.37°) |
| OKLab | oklab(39.61% -0.0867 0.0468) |
| OKLCH | oklch(39.61% 0.098 151.6) |
| XYZ | xyz(3.8177, 6.7419, 3.2901) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.70
Pine
#2B5D34
ΔE00 3.98
Pine Green
#0A481E
ΔE00 4.11
Forest Green
#2D5A27
ΔE00 4.83
Evergreen
#05472A
ΔE00 5.57
Hunter Green
#355E3B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C552A #550C37
analogous
#12550C #0C552A #0C554F
triadic
#0C552A #2A0C55 #552A0C
tetradic
#0C552A #0C1255 #550C37 #554F0C
square
#0C552A #0C1255 #550C37 #554F0C
split-complementary
#0C552A #4F0C55 #550C12
monochromatic
#041B0D #041F10 #0C552A #148B45 #1BC05F
Accessibility & contrast
On white
8.94
#0C552A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#0C552A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C552A
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C552A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C552A | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c552a; /* rgb */ color: rgb(12, 85, 42); /* oklch */ color: oklch(39.6% 0.098 151.6);
Tailwind
colors: {
custom: {
50: '#5a8664',
500: '#0c552a',
950: '#000000',
},
}SCSS
$custom: #0c552a; $custom-light: #5a8664; $custom-dark: #000000;
JSON
{
"hex": "#0c552a",
"rgb": {
"r": 12,
"g": 85,
"b": 42
},
"hsl": {
"h": 144.658,
"s": 75.258,
"l": 19.02
},
"oklch": {
"l": 0.39612,
"c": 0.09849,
"h": 151.6
},
"luminance": 0.06742
}Semantic roles & 50–950 ramp
primary
#0C552A
secondary
#902D67
accent
#36A5F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A