#0C450C#0C450C
#0C450C is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.2% C 0.104 H 142.9°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #0C450C |
|---|---|
| RGB | rgb(12, 69, 12) |
| HSL | hsl(120, 70%, 16%) |
| HSV | hsv(120, 83%, 27%) |
| CMYK | cmyk(82.6%, 0%, 82.6%, 72.9%) |
| CIE-LAB | lab(24.83, -30.41, 27.61) |
| CIE-LCH | lch(24.83, 41.08, 137.76°) |
| OKLab | oklab(34.2% -0.0826 0.0625) |
| OKLCH | oklch(34.2% 0.104 142.9) |
| XYZ | xyz(2.3460, 4.3607, 1.0658) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green (survey)
#06470C
ΔE00 0.87
British Racing Green
#05480D
ΔE00 1.18
Hunter Green (survey)
#0B4008
ΔE00 1.54
Forrest Green
#154406
ΔE00 1.71
Darkgreen (survey)
#054907
ΔE00 1.83
Racing Green
#014600
ΔE00 2.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C450C #450C45
analogous
#28450C #0C450C #0C4528
triadic
#0C450C #0C0C45 #450C0C
tetradic
#0C450C #0C2845 #450C45 #45280C
square
#0C450C #0C2845 #450C45 #45280C
split-complementary
#0C450C #280C45 #450C28
monochromatic
#051A05 #051A05 #0C450C #157915 #1EAD1E
Accessibility & contrast
On white
11.22
#0C450C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#0C450C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C450C
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C450C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C450C | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #0c450c; /* rgb */ color: rgb(12, 69, 12); /* oklch */ color: oklch(34.2% 0.104 142.9);
Tailwind
colors: {
custom: {
50: '#56794f',
500: '#0c450c',
950: '#000000',
},
}SCSS
$custom: #0c450c; $custom-light: #56794f; $custom-dark: #000000;
JSON
{
"hex": "#0c450c",
"rgb": {
"r": 12,
"g": 69,
"b": 12
},
"hsl": {
"h": 120,
"s": 70.37,
"l": 15.882
},
"oklch": {
"l": 0.342,
"c": 0.10352,
"h": 142.9
},
"luminance": 0.04361
}Semantic roles & 50–950 ramp
primary
#0C450C
secondary
#812C81
accent
#3BEDED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78