#2D510E#2D510E
#2D510E is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.102 H 134.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2D510E |
|---|---|
| RGB | rgb(45, 81, 14) |
| HSL | hsl(92, 71%, 19%) |
| HSV | hsv(92, 83%, 32%) |
| CMYK | cmyk(44.4%, 0%, 82.7%, 68.2%) |
| CIE-LAB | lab(30.58, -25.36, 32.92) |
| CIE-LCH | lch(30.58, 41.55, 127.61°) |
| OKLab | oklab(39.31% -0.0712 0.0734) |
| OKLCH | oklch(39.31% 0.102 134.1) |
| XYZ | xyz(4.1038, 6.4742, 1.4488) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.07
Forest
#0B5509
ΔE00 4.78
Forrest Green
#154406
ΔE00 5.03
Forest Green
#2D5A27
ΔE00 5.09
Bottle Green
#044A05
ΔE00 5.22
Dark Olive Green
#3C4D03
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D510E #320E51
analogous
#4E510E #2D510E #0E5110
triadic
#2D510E #0E2D51 #510E2D
tetradic
#2D510E #0E4E51 #320E51 #51100E
square
#2D510E #0E4E51 #320E51 #51100E
split-complementary
#2D510E #100E51 #510E4E
monochromatic
#0E1A05 #101D05 #2D510E #4A8517 #67B920
Accessibility & contrast
On white
9.15
#2D510E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2D510E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D510E
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D510E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D510E | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A02
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#2D4D44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d510e; /* rgb */ color: rgb(45, 81, 14); /* oklch */ color: oklch(39.3% 0.102 134.1);
Tailwind
colors: {
custom: {
50: '#6a8252',
500: '#2d510e',
950: '#000000',
},
}SCSS
$custom: #2d510e; $custom-light: #6a8252; $custom-dark: #000000;
JSON
{
"hex": "#2d510e",
"rgb": {
"r": 45,
"g": 81,
"b": 14
},
"hsl": {
"h": 92.239,
"s": 70.526,
"l": 18.627
},
"oklch": {
"l": 0.39305,
"c": 0.10224,
"h": 134.1
},
"luminance": 0.06474
}Semantic roles & 50–950 ramp
primary
#2D510E
secondary
#612F8C
accent
#3AED9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78