#2E400D#2E400D

#2E400D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.077 H 127.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2E400D
RGBrgb(46, 64, 13)
HSLhsl(81, 66%, 15%)
HSVhsv(81, 80%, 25%)
CMYKcmyk(28.1%, 0%, 79.7%, 74.9%)
CIE-LABlab(24.57, -16.26, 27.42)
CIE-LCHlch(24.57, 31.88, 120.67°)
OKLaboklab(34.42% -0.0466 0.0617)
OKLCHoklch(34.42% 0.077 127.1)
XYZxyz(3.0328, 4.2766, 1.0464)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E400D #1F0D40
analogous
#40380D #2E400D #15400D
triadic
#2E400D #0D2E40 #400D2E
tetradic
#2E400D #0D4038 #1F0D40 #400D15
square
#2E400D #0D4038 #1F0D40 #400D15
split-complementary
#2E400D #0D1540 #380D40
monochromatic
#121905 #121905 #2E400D #537317 #77A622

Accessibility & contrast

On white

11.32
#2E400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E400D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E400D#FFFFFF#000000##FFFFFF
##2E400D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B05
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e400d;
/* rgb */ color: rgb(46, 64, 13);
/* oklch */ color: oklch(34.4% 0.077 127.1);
Tailwind
colors: {
  custom: {
    50: '#69754f',
    500: '#2e400d',
    950: '#000000',
  },
}
SCSS
$custom: #2e400d;
$custom-light: #69754f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e400d",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 81.176,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34418,
    "c": 0.07733,
    "h": 127.1
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#2E400D
secondary
#492D7C
accent
#3FE97B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E400D

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

Preview Lab → · Contrast checker → · Palette generator →

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