#2A530F#2A530F
#2A530F is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.7% C 0.106 H 135.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A530F |
|---|---|
| RGB | rgb(42, 83, 15) |
| HSL | hsl(96, 69%, 19%) |
| HSV | hsv(96, 82%, 33%) |
| CMYK | cmyk(49.4%, 0%, 81.9%, 67.5%) |
| CIE-LAB | lab(31.14, -27.37, 33.02) |
| CIE-LCH | lch(31.14, 42.89, 129.65°) |
| OKLab | oklab(39.73% -0.0763 0.0739) |
| OKLCH | oklch(39.73% 0.106 135.9) |
| XYZ | xyz(4.1342, 6.7130, 1.5297) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.74
Forest
#0B5509
ΔE00 3.83
Forest Green
#2D5A27
ΔE00 4.50
Bottle Green
#044A05
ΔE00 4.80
Deep Green
#02590F
ΔE00 4.85
Darkgreen (survey)
#054907
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A530F #380F53
analogous
#4C530F #2A530F #0F5316
triadic
#2A530F #0F2A53 #530F2A
tetradic
#2A530F #0F4C53 #380F53 #53160F
square
#2A530F #0F4C53 #380F53 #53160F
split-complementary
#2A530F #160F53 #530F4C
monochromatic
#0D1A05 #101F06 #2A530F #448718 #5EBB22
Accessibility & contrast
On white
8.96
#2A530F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A530F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A530F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A530F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A530F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B03
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#285046
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a530f; /* rgb */ color: rgb(42, 83, 15); /* oklch */ color: oklch(39.7% 0.106 135.9);
Tailwind
colors: {
custom: {
50: '#688453',
500: '#2a530f',
950: '#000000',
},
}SCSS
$custom: #2a530f; $custom-light: #688453; $custom-dark: #000000;
JSON
{
"hex": "#2a530f",
"rgb": {
"r": 42,
"g": 83,
"b": 15
},
"hsl": {
"h": 96.176,
"s": 69.388,
"l": 19.216
},
"oklch": {
"l": 0.39729,
"c": 0.10618,
"h": 135.9
},
"luminance": 0.06713
}Semantic roles & 50–950 ramp
primary
#2A530F
secondary
#68318D
accent
#3CECA6
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78