#2D510C#2D510C
#2D510C is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.103 H 133.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2D510C |
|---|---|
| RGB | rgb(45, 81, 12) |
| HSL | hsl(91, 74%, 18%) |
| HSV | hsv(91, 85%, 32%) |
| CMYK | cmyk(44.4%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(30.57, -25.49, 33.65) |
| CIE-LCH | lch(30.57, 42.21, 127.15°) |
| OKLab | oklab(39.29% -0.0717 0.0746) |
| OKLCH | oklch(39.29% 0.103 133.8) |
| XYZ | xyz(4.0909, 6.4691, 1.3809) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.89
Forest
#0B5509
ΔE00 4.83
Forrest Green
#154406
ΔE00 5.13
Dark Olive Green
#3C4D03
ΔE00 5.13
Bottle Green
#044A05
ΔE00 5.30
Forest Green
#2D5A27
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D510C #300C51
analogous
#4F510C #2D510C #0C510D
triadic
#2D510C #0C2D51 #510C2D
tetradic
#2D510C #0C4F51 #300C51 #510D0C
square
#2D510C #0C4F51 #300C51 #510D0C
split-complementary
#2D510C #0D0C51 #510C4F
monochromatic
#0F1B04 #0F1C04 #2D510C #4B8614 #68BC1C
Accessibility & contrast
On white
9.16
#2D510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2D510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D510C
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D510C | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#2D4D44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d510c; /* rgb */ color: rgb(45, 81, 12); /* oklch */ color: oklch(39.3% 0.103 133.8);
Tailwind
colors: {
custom: {
50: '#6a8251',
500: '#2d510c',
950: '#000000',
},
}SCSS
$custom: #2d510c; $custom-light: #6a8251; $custom-dark: #000000;
JSON
{
"hex": "#2d510c",
"rgb": {
"r": 45,
"g": 81,
"b": 12
},
"hsl": {
"h": 91.304,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.39291,
"c": 0.10344,
"h": 133.8
},
"luminance": 0.06469
}Semantic roles & 50–950 ramp
primary
#2D510C
secondary
#5E2C8C
accent
#37F198
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78