#0C4D2C#0C4D2C
#0C4D2C is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.084 H 155.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4D2C |
|---|---|
| RGB | rgb(12, 77, 44) |
| HSL | hsl(150, 73%, 17%) |
| HSV | hsv(150, 84%, 30%) |
| CMYK | cmyk(84.4%, 0%, 42.9%, 69.8%) |
| CIE-LAB | lab(28.29, -28.47, 14.11) |
| CIE-LCH | lch(28.29, 31.77, 153.64°) |
| OKLab | oklab(37.21% -0.0768 0.0352) |
| OKLCH | oklch(37.21% 0.084 155.4) |
| XYZ | xyz(3.2598, 5.5674, 3.2852) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 2.13
Pine Green
#0A481E
ΔE00 3.38
Spruce
#0A5F38
ΔE00 5.78
Pine
#2B5D34
ΔE00 6.11
British Racing Green
#05480D
ΔE00 6.95
Hunter Green
#355E3B
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4D2C #4D0C2D
analogous
#0D4D0C #0C4D2C #0C4D4C
triadic
#0C4D2C #2C0C4D #4D2C0C
tetradic
#0C4D2C #0C0D4D #4D0C2D #4D4C0C
square
#0C4D2C #0C0D4D #4D0C2D #4D4C0C
split-complementary
#0C4D2C #4C0C4D #4D0C0D
monochromatic
#041A0F #041A0F #0C4D2C #14824A #1DB769
Accessibility & contrast
On white
9.94
#0C4D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#0C4D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4D2C
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4D2C | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D462A
Deuteranopia (green-blind)
#45412E
Tritanopia (blue-blind)
#004C45
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #0c4d2c; /* rgb */ color: rgb(12, 77, 44); /* oklch */ color: oklch(37.2% 0.084 155.4);
Tailwind
colors: {
custom: {
50: '#577f65',
500: '#0c4d2c',
950: '#000000',
},
}SCSS
$custom: #0c4d2c; $custom-light: #577f65; $custom-dark: #000000;
JSON
{
"hex": "#0c4d2c",
"rgb": {
"r": 12,
"g": 77,
"b": 44
},
"hsl": {
"h": 149.538,
"s": 73.034,
"l": 17.451
},
"oklch": {
"l": 0.37212,
"c": 0.08447,
"h": 155.4
},
"luminance": 0.05568
}Semantic roles & 50–950 ramp
primary
#0C4D2C
secondary
#892C5B
accent
#3895F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A