#2E4213#2E4213

#2E4213 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.075 H 129.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4213
RGBrgb(46, 66, 19)
HSLhsl(86, 55%, 17%)
HSVhsv(86, 71%, 26%)
CMYKcmyk(30.3%, 0%, 71.2%, 74.1%)
CIE-LABlab(25.33, -16.84, 25.31)
CIE-LCHlch(25.33, 30.40, 123.64°)
OKLaboklab(35.06% -0.0476 0.0583)
OKLCHoklch(35.06% 0.075 129.2)
XYZxyz(3.1925, 4.5242, 1.3210)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4213 #271342
analogous
#423F13 #2E4213 #174213
triadic
#2E4213 #132E42 #42132E
tetradic
#2E4213 #13423F #271342 #421317
square
#2E4213 #13423F #271342 #421317
split-complementary
#2E4213 #131742 #3F1342
monochromatic
#111807 #111807 #2E4213 #4F7221 #70A12E

Accessibility & contrast

On white

11.02
#2E4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E4213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4213
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4213#FFFFFF#000000##FFFFFF
##2E42131.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0D
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#2F3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4213;
/* rgb */ color: rgb(46, 66, 19);
/* oklch */ color: oklch(35.1% 0.075 129.2);
Tailwind
colors: {
  custom: {
    50: '#687653',
    500: '#2e4213',
    950: '#000000',
  },
}
SCSS
$custom: #2e4213;
$custom-light: #687653;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4213",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 85.532,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35059,
    "c": 0.0752,
    "h": 129.2
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#2E4213
secondary
#53367B
accent
#49DF89
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4213

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

Preview Lab → · Contrast checker → · Palette generator →

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