#2E4510#2E4510

#2E4510 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.083 H 130.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2E4510
RGBrgb(46, 69, 16)
HSLhsl(86, 62%, 17%)
HSVhsv(86, 77%, 27%)
CMYKcmyk(33.3%, 0%, 76.8%, 72.9%)
CIE-LABlab(26.37, -18.74, 27.89)
CIE-LCHlch(26.37, 33.60, 123.90°)
OKLaboklab(35.89% -0.0531 0.0632)
OKLCHoklch(35.89% 0.083 130)
XYZxyz(3.3483, 4.8744, 1.2545)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4510 #271045
analogous
#454210 #2E4510 #144510
triadic
#2E4510 #102E45 #45102E
tetradic
#2E4510 #104542 #271045 #451014
square
#2E4510 #104542 #271045 #451014
split-complementary
#2E4510 #101445 #421045
monochromatic
#111906 #111906 #2E4510 #4F771C #70A827

Accessibility & contrast

On white

10.63
#2E4510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E4510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4510
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4510#FFFFFF#000000##FFFFFF
##2E45101.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F08
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#2F423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4510;
/* rgb */ color: rgb(46, 69, 16);
/* oklch */ color: oklch(35.9% 0.083 130.0);
Tailwind
colors: {
  custom: {
    50: '#697952',
    500: '#2e4510',
    950: '#000000',
  },
}
SCSS
$custom: #2e4510;
$custom-light: #697952;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4510",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 86.038,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35894,
    "c": 0.08253,
    "h": 130
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#2E4510
secondary
#53327F
accent
#42E589
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4510

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

Preview Lab → · Contrast checker → · Palette generator →

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