#2E4315#2E4315

#2E4315 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.4% C 0.075 H 130.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2E4315
RGBrgb(46, 67, 21)
HSLhsl(87, 52%, 17%)
HSVhsv(87, 69%, 26%)
CMYKcmyk(31.3%, 0%, 68.7%, 73.7%)
CIE-LABlab(25.71, -17.18, 24.68)
CIE-LCHlch(25.71, 30.07, 124.85°)
OKLaboklab(35.37% -0.0483 0.0572)
OKLCHoklch(35.37% 0.075 130.2)
XYZxyz(3.2692, 4.6492, 1.4345)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4315 #2A1543
analogous
#434115 #2E4315 #174315
triadic
#2E4315 #152E43 #43152E
tetradic
#2E4315 #154341 #2A1543 #431517
square
#2E4315 #154341 #2A1543 #431517
split-complementary
#2E4315 #151743 #411543
monochromatic
#101707 #101707 #2E4315 #4E7224 #6EA032

Accessibility & contrast

On white

10.88
#2E4315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E4315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4315
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4315#FFFFFF#000000##FFFFFF
##2E43151.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#2F4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4315;
/* rgb */ color: rgb(46, 67, 21);
/* oklch */ color: oklch(35.4% 0.075 130.2);
Tailwind
colors: {
  custom: {
    50: '#687754',
    500: '#2e4315',
    950: '#000000',
  },
}
SCSS
$custom: #2e4315;
$custom-light: #687754;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4315",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 21
  },
  "hsl": {
    "h": 87.391,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35372,
    "c": 0.07486,
    "h": 130.2
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#2E4315
secondary
#57397B
accent
#4CDC8E
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4315

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

Preview Lab → · Contrast checker → · Palette generator →

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