#2E520D#2E520D

#2E520D is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.104 H 133.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2E520D
RGBrgb(46, 82, 13)
HSLhsl(91, 73%, 19%)
HSVhsv(91, 84%, 32%)
CMYKcmyk(43.9%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.98, -25.51, 33.70)
CIE-LCHlch(30.98, 42.27, 127.13°)
OKLaboklab(39.65% -0.0717 0.0749)
OKLCHoklch(39.65% 0.104 133.8)
XYZxyz(4.2166, 6.6443, 1.4410)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E520D #310D52
analogous
#50520D #2E520D #0D520E
triadic
#2E520D #0D2E52 #520D2E
tetradic
#2E520D #0D5052 #310D52 #520E0D
square
#2E520D #0D5052 #310D52 #520E0D
split-complementary
#2E520D #0E0D52 #520D50
monochromatic
#0F1A04 #101D05 #2E520D #4C8715 #69BC1E

Accessibility & contrast

On white

9.02
#2E520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E520D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E520D#FFFFFF#000000##FFFFFF
##2E520D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#2E4E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e520d;
/* rgb */ color: rgb(46, 82, 13);
/* oklch */ color: oklch(39.6% 0.104 133.8);
Tailwind
colors: {
  custom: {
    50: '#6b8352',
    500: '#2e520d',
    950: '#000000',
  },
}
SCSS
$custom: #2e520d;
$custom-light: #6b8352;
$custom-dark: #000000;
JSON
{
  "hex": "#2e520d",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 91.304,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.10366,
    "h": 133.8
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#2E520D
secondary
#5F2E8D
accent
#38EF98
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E520D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva