#2E400B#2E400B

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

Color values

HEX#2E400B
RGBrgb(46, 64, 11)
HSLhsl(80, 71%, 15%)
HSVhsv(80, 83%, 25%)
CMYKcmyk(28.1%, 0%, 82.8%, 74.9%)
CIE-LABlab(24.55, -16.41, 28.28)
CIE-LCHlch(24.55, 32.70, 120.12°)
OKLaboklab(34.4% -0.0472 0.0632)
OKLCHoklch(34.4% 0.079 126.8)
XYZxyz(3.0205, 4.2717, 0.9819)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E400B #1D0B40
analogous
#40380B #2E400B #14400B
triadic
#2E400B #0B2E40 #400B2E
tetradic
#2E400B #0B4038 #1D0B40 #400B14
square
#2E400B #0B4038 #1D0B40 #400B14
split-complementary
#2E400B #0B1440 #380B40
monochromatic
#131A04 #131A04 #2E400B #547414 #79A81D

Accessibility & contrast

On white

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

On black

1.85
#2E400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E400B#FFFFFF#000000##FFFFFF
##2E400B1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e400b;
/* rgb */ color: rgb(46, 64, 11);
/* oklch */ color: oklch(34.4% 0.079 126.8);
Tailwind
colors: {
  custom: {
    50: '#69754e',
    500: '#2e400b',
    950: '#000000',
  },
}
SCSS
$custom: #2e400b;
$custom-light: #69754e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e400b",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 80.377,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34401,
    "c": 0.07885,
    "h": 126.8
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#2E400B
secondary
#462A7D
accent
#3AED77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E400B

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

Preview Lab → · Contrast checker → · Palette generator →

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