#2E431A#2E431A

#2E431A is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.070 H 131.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2E431A
RGBrgb(46, 67, 26)
HSLhsl(91, 44%, 18%)
HSVhsv(91, 61%, 26%)
CMYKcmyk(31.3%, 0%, 61.2%, 73.7%)
CIE-LABlab(25.77, -16.60, 22.00)
CIE-LCHlch(25.77, 27.56, 127.04°)
OKLaboklab(35.44% -0.0462 0.052)
OKLCHoklch(35.44% 0.07 131.6)
XYZxyz(3.3203, 4.6696, 1.7035)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E431A #2F1A43
analogous
#42431A #2E431A #1A431A
triadic
#2E431A #1A2E43 #431A2E
tetradic
#2E431A #1A4243 #2F1A43 #431A1A
square
#2E431A #1A4243 #2F1A43 #431A1A
split-complementary
#2E431A #1A1A43 #431A42
monochromatic
#0F1609 #101709 #2E431A #4C6F2B #6B9B3C

Accessibility & contrast

On white

10.86
#2E431A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E431A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E431A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E431A#FFFFFF#000000##FFFFFF
##2E431A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E16
Deuteranopia (green-blind)
#433C1D
Tritanopia (blue-blind)
#2F403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e431a;
/* rgb */ color: rgb(46, 67, 26);
/* oklch */ color: oklch(35.4% 0.070 131.6);
Tailwind
colors: {
  custom: {
    50: '#687758',
    500: '#2e431a',
    950: '#000000',
  },
}
SCSS
$custom: #2e431a;
$custom-light: #687758;
$custom-dark: #000000;
JSON
{
  "hex": "#2e431a",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 26
  },
  "hsl": {
    "h": 90.732,
    "s": 44.086,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35441,
    "c": 0.06959,
    "h": 131.6
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#2E431A
secondary
#5D4079
accent
#54D495
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E431A

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

Preview Lab → · Contrast checker → · Palette generator →

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