#2E400E#2E400E

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

Color values

HEX#2E400E
RGBrgb(46, 64, 14)
HSLhsl(82, 64%, 15%)
HSVhsv(82, 78%, 25%)
CMYKcmyk(28.1%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.57, -16.18, 26.97)
CIE-LCHlch(24.57, 31.45, 120.97°)
OKLaboklab(34.43% -0.0463 0.0609)
OKLCHoklch(34.43% 0.077 127.2)
XYZxyz(3.0394, 4.2793, 1.0812)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E400E #200E40
analogous
#40390E #2E400E #15400E
triadic
#2E400E #0E2E40 #400E2E
tetradic
#2E400E #0E4039 #200E40 #400E15
square
#2E400E #0E4039 #200E40 #400E15
split-complementary
#2E400E #0E1540 #390E40
monochromatic
#121905 #121905 #2E400E #527219 #76A424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2e400e;
/* rgb */ color: rgb(46, 64, 14);
/* oklch */ color: oklch(34.4% 0.077 127.2);
Tailwind
colors: {
  custom: {
    50: '#697550',
    500: '#2e400e',
    950: '#000000',
  },
}
SCSS
$custom: #2e400e;
$custom-light: #697550;
$custom-dark: #000000;
JSON
{
  "hex": "#2e400e",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 81.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.07652,
    "h": 127.2
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#2E400E
secondary
#4A2F7B
accent
#41E77D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E400E

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

Preview Lab → · Contrast checker → · Palette generator →

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