#2E431B#2E431B

#2E431B is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.068 H 132.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2E431B
RGBrgb(46, 67, 27)
HSLhsl(92, 43%, 18%)
HSVhsv(92, 60%, 26%)
CMYKcmyk(31.3%, 0%, 59.7%, 73.7%)
CIE-LABlab(25.79, -16.48, 21.44)
CIE-LCHlch(25.79, 27.04, 127.54°)
OKLaboklab(35.46% -0.0458 0.0509)
OKLCHoklch(35.46% 0.068 132)
XYZxyz(3.3316, 4.6742, 1.7634)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E431B #301B43
analogous
#42431B #2E431B #1B431C
triadic
#2E431B #1B2E43 #431B2E
tetradic
#2E431B #1B4243 #301B43 #431C1B
square
#2E431B #1B4243 #301B43 #431C1B
split-complementary
#2E431B #1C1B43 #431B42
monochromatic
#0F1609 #101709 #2E431B #4C6F2D #6A9A3E

Accessibility & contrast

On white

10.85
#2E431B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E431B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E431B#FFFFFF#000000##FFFFFF
##2E431B1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e431b;
/* rgb */ color: rgb(46, 67, 27);
/* oklch */ color: oklch(35.5% 0.068 132.0);
Tailwind
colors: {
  custom: {
    50: '#687758',
    500: '#2e431b',
    950: '#000000',
  },
}
SCSS
$custom: #2e431b;
$custom-light: #687758;
$custom-dark: #000000;
JSON
{
  "hex": "#2e431b",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 27
  },
  "hsl": {
    "h": 91.5,
    "s": 42.553,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.06847,
    "h": 132
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#2E431B
secondary
#5E4179
accent
#55D297
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E431B

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

Preview Lab → · Contrast checker → · Palette generator →

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