#2D401B#2D401B

#2D401B is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.064 H 131.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2D401B
RGBrgb(45, 64, 27)
HSLhsl(91, 41%, 18%)
HSVhsv(91, 58%, 25%)
CMYKcmyk(29.7%, 0%, 57.8%, 74.9%)
CIE-LABlab(24.65, -15.24, 20.07)
CIE-LCHlch(24.65, 25.20, 127.21°)
OKLaboklab(34.52% -0.0423 0.0479)
OKLCHoklch(34.52% 0.064 131.4)
XYZxyz(3.1134, 4.3037, 1.7034)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D401B #2E1B40
analogous
#3F401B #2D401B #1B401C
triadic
#2D401B #1B2D40 #401B2D
tetradic
#2D401B #1B3F40 #2E1B40 #401C1B
square
#2D401B #1B3F40 #2E1B40 #401C1B
split-complementary
#2D401B #1C1B40 #401B3F
monochromatic
#0F1609 #0F1609 #2D401B #4B6B2D #6A963F

Accessibility & contrast

On white

11.29
#2D401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D401B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D401B#FFFFFF#000000##FFFFFF
##2D401B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B18
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#2E3D38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d401b;
/* rgb */ color: rgb(45, 64, 27);
/* oklch */ color: oklch(34.5% 0.064 131.4);
Tailwind
colors: {
  custom: {
    50: '#677558',
    500: '#2d401b',
    950: '#000000',
  },
}
SCSS
$custom: #2d401b;
$custom-light: #677558;
$custom-dark: #000000;
JSON
{
  "hex": "#2d401b",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 90.811,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.0639,
    "h": 131.4
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#2D401B
secondary
#5C4175
accent
#57D196
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D401B

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

Preview Lab → · Contrast checker → · Palette generator →

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