#2C511C#2C511C
#2C511C is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.092 H 137.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C511C |
|---|---|
| RGB | rgb(44, 81, 28) |
| HSL | hsl(102, 49%, 21%) |
| HSV | hsv(102, 65%, 32%) |
| CMYK | cmyk(45.7%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(30.65, -24.44, 26.52) |
| CIE-LCH | lch(30.65, 36.06, 132.67°) |
| OKLab | oklab(39.39% -0.0674 0.062) |
| OKLCH | oklch(39.39% 0.092 137.4) |
| XYZ | xyz(4.1906, 6.5039, 2.1330) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.26
Navy Green
#35530A
ΔE00 4.47
Forrest Green
#154406
ΔE00 4.91
British Racing Green
#05480D
ΔE00 5.10
Darkgreen (survey)
#054907
ΔE00 5.11
Forest
#0B5509
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C511C #411C51
analogous
#47511C #2C511C #1C5127
triadic
#2C511C #1C2C51 #511C2C
tetradic
#2C511C #1C4751 #411C51 #51271C
square
#2C511C #1C4751 #411C51 #51271C
split-complementary
#2C511C #271C51 #511C47
monochromatic
#0C1708 #13240C #2C511C #457E2C #5DAC3B
Accessibility & contrast
On white
9.13
#2C511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2C511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C511C
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C511C | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A16
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#2A4E46
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c511c; /* rgb */ color: rgb(44, 81, 28); /* oklch */ color: oklch(39.4% 0.092 137.4);
Tailwind
colors: {
custom: {
50: '#68825a',
500: '#2c511c',
950: '#000000',
},
}SCSS
$custom: #2c511c; $custom-light: #68825a; $custom-dark: #000000;
JSON
{
"hex": "#2c511c",
"rgb": {
"r": 44,
"g": 81,
"b": 28
},
"hsl": {
"h": 101.887,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.39389,
"c": 0.0916,
"h": 137.4
},
"luminance": 0.06504
}Semantic roles & 50–950 ramp
primary
#2C511C
secondary
#724287
accent
#50D8AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79