#2E400C#2E400C

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

Color values

HEX#2E400C
RGBrgb(46, 64, 12)
HSLhsl(81, 68%, 15%)
HSVhsv(81, 81%, 25%)
CMYKcmyk(28.1%, 0%, 81.2%, 74.9%)
CIE-LABlab(24.56, -16.34, 27.86)
CIE-LCHlch(24.56, 32.30, 120.39°)
OKLaboklab(34.41% -0.0469 0.0624)
OKLCHoklch(34.41% 0.078 126.9)
XYZxyz(3.0265, 4.2741, 1.0133)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E400C #1E0C40
analogous
#40380C #2E400C #14400C
triadic
#2E400C #0C2E40 #400C2E
tetradic
#2E400C #0C4038 #1E0C40 #400C14
square
#2E400C #0C4038 #1E0C40 #400C14
split-complementary
#2E400C #0C1440 #380C40
monochromatic
#131A05 #131A05 #2E400C #537416 #78A71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E400C#FFFFFF#000000##FFFFFF
##2E400C1.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)
#443B04
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e400c;
/* rgb */ color: rgb(46, 64, 12);
/* oklch */ color: oklch(34.4% 0.078 126.9);
Tailwind
colors: {
  custom: {
    50: '#69754f',
    500: '#2e400c',
    950: '#000000',
  },
}
SCSS
$custom: #2e400c;
$custom-light: #69754f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e400c",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 80.769,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.0781,
    "h": 126.9
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#2E400C
secondary
#482C7C
accent
#3DEB79
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E400C

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

Preview Lab → · Contrast checker → · Palette generator →

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