#2E470A#2E470A

#2E470A is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.090 H 130.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2E470A
RGBrgb(46, 71, 10)
HSLhsl(85, 75%, 16%)
HSVhsv(85, 86%, 28%)
CMYKcmyk(35.2%, 0%, 85.9%, 72.2%)
CIE-LABlab(27.04, -20.23, 31.08)
CIE-LCHlch(27.04, 37.08, 123.06°)
OKLaboklab(36.43% -0.0577 0.0688)
OKLCHoklch(36.43% 0.09 130)
XYZxyz(3.4347, 5.1091, 1.0923)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E470A #230A47
analogous
#47410A #2E470A #0F470A
triadic
#2E470A #0A2E47 #470A2E
tetradic
#2E470A #0A4741 #230A47 #470A0F
square
#2E470A #0A4741 #230A47 #470A0F
split-complementary
#2E470A #0A0F47 #410A47
monochromatic
#111B04 #111B04 #2E470A #517D12 #74B219

Accessibility & contrast

On white

10.39
#2E470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E470A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E470A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E470A#FFFFFF#000000##FFFFFF
##2E470A1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#2F433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e470a;
/* rgb */ color: rgb(46, 71, 10);
/* oklch */ color: oklch(36.4% 0.090 130.0);
Tailwind
colors: {
  custom: {
    50: '#6a7a4f',
    500: '#2e470a',
    950: '#000000',
  },
}
SCSS
$custom: #2e470a;
$custom-light: #6a7a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e470a",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 84.59,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.0898,
    "h": 130
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#2E470A
secondary
#4E2984
accent
#36F283
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E470A

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

Preview Lab → · Contrast checker → · Palette generator →

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