#2D530C#2D530C
#2D530C is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.106 H 134.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D530C |
|---|---|
| RGB | rgb(45, 83, 12) |
| HSL | hsl(92, 75%, 19%) |
| HSV | hsv(92, 86%, 33%) |
| CMYK | cmyk(45.8%, 0%, 85.5%, 67.5%) |
| CIE-LAB | lab(31.28, -26.44, 34.32) |
| CIE-LCH | lch(31.28, 43.32, 127.61°) |
| OKLab | oklab(39.88% -0.0742 0.076) |
| OKLCH | oklch(39.88% 0.106 134.3) |
| XYZ | xyz(4.2417, 6.7707, 1.4311) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.91
Forest
#0B5509
ΔE00 4.49
Forest Green
#2D5A27
ΔE00 5.11
Bottle Green
#044A05
ΔE00 5.43
Dark Olive Green
#3C4D03
ΔE00 5.48
Deep Green
#02590F
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D530C #320C53
analogous
#50530C #2D530C #0C530E
triadic
#2D530C #0C2D53 #530C2D
tetradic
#2D530C #0C5053 #320C53 #530E0C
square
#2D530C #0C5053 #320C53 #530E0C
split-complementary
#2D530C #0E0C53 #530C50
monochromatic
#0E1B04 #101E04 #2D530C #4A8814 #67BE1B
Accessibility & contrast
On white
8.92
#2D530C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D530C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D530C
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D530C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D530C | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#2C4F46
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d530c; /* rgb */ color: rgb(45, 83, 12); /* oklch */ color: oklch(39.9% 0.106 134.3);
Tailwind
colors: {
custom: {
50: '#6a8452',
500: '#2d530c',
950: '#000000',
},
}SCSS
$custom: #2d530c; $custom-light: #6a8452; $custom-dark: #000000;
JSON
{
"hex": "#2d530c",
"rgb": {
"r": 45,
"g": 83,
"b": 12
},
"hsl": {
"h": 92.113,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.39875,
"c": 0.10622,
"h": 134.3
},
"luminance": 0.06771
}Semantic roles & 50–950 ramp
primary
#2D530C
secondary
#612D8E
accent
#36F19A
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78