#2D510F#2D510F
#2D510F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.102 H 134.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2D510F |
|---|---|
| RGB | rgb(45, 81, 15) |
| HSL | hsl(93, 69%, 19%) |
| HSV | hsv(93, 81%, 32%) |
| CMYK | cmyk(44.4%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(30.59, -25.29, 32.53) |
| CIE-LCH | lch(30.59, 41.20, 127.86°) |
| OKLab | oklab(39.31% -0.0709 0.0728) |
| OKLCH | oklch(39.31% 0.102 134.2) |
| XYZ | xyz(4.1108, 6.4770, 1.4854) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.18
Forest
#0B5509
ΔE00 4.76
Forest Green
#2D5A27
ΔE00 4.96
Forrest Green
#154406
ΔE00 4.99
Bottle Green
#044A05
ΔE00 5.18
Darkgreen (survey)
#054907
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D510F #330F51
analogous
#4E510F #2D510F #0F5112
triadic
#2D510F #0F2D51 #510F2D
tetradic
#2D510F #0F4E51 #330F51 #51120F
square
#2D510F #0F4E51 #330F51 #51120F
split-complementary
#2D510F #120F51 #510F4E
monochromatic
#0E1A05 #101D05 #2D510F #4A8519 #66B822
Accessibility & contrast
On white
9.15
#2D510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2D510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D510F
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D510F | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A03
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2D4E44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d510f; /* rgb */ color: rgb(45, 81, 15); /* oklch */ color: oklch(39.3% 0.102 134.2);
Tailwind
colors: {
custom: {
50: '#6a8253',
500: '#2d510f',
950: '#000000',
},
}SCSS
$custom: #2d510f; $custom-light: #6a8253; $custom-dark: #000000;
JSON
{
"hex": "#2d510f",
"rgb": {
"r": 45,
"g": 81,
"b": 15
},
"hsl": {
"h": 92.727,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.39313,
"c": 0.1016,
"h": 134.2
},
"luminance": 0.06477
}Semantic roles & 50–950 ramp
primary
#2D510F
secondary
#62318B
accent
#3CEC9C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78