#2A401B#2A401B

#2A401B is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.066 H 134.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2A401B
RGBrgb(42, 64, 27)
HSLhsl(96, 41%, 18%)
HSVhsv(96, 58%, 25%)
CMYKcmyk(34.4%, 0%, 57.8%, 74.9%)
CIE-LABlab(24.44, -16.56, 19.77)
CIE-LCHlch(24.44, 25.79, 129.95°)
OKLaboklab(34.3% -0.0457 0.0473)
OKLCHoklch(34.3% 0.066 134.1)
XYZxyz(2.9860, 4.2381, 1.6974)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A401B #311B40
analogous
#3C401B #2A401B #1B401F
triadic
#2A401B #1B2A40 #401B2A
tetradic
#2A401B #1B3C40 #311B40 #401F1B
square
#2A401B #1B3C40 #311B40 #401F1B
split-complementary
#2A401B #1F1B40 #401B3C
monochromatic
#0E1609 #0E1609 #2A401B #466B2D #62963F

Accessibility & contrast

On white

11.37
#2A401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A401B
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A401B#FFFFFF#000000##FFFFFF
##2A401B1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#2A3E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a401b;
/* rgb */ color: rgb(42, 64, 27);
/* oklch */ color: oklch(34.3% 0.066 134.1);
Tailwind
colors: {
  custom: {
    50: '#657558',
    500: '#2a401b',
    950: '#000000',
  },
}
SCSS
$custom: #2a401b;
$custom-light: #657558;
$custom-dark: #000000;
JSON
{
  "hex": "#2a401b",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 95.676,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.34296,
    "c": 0.06579,
    "h": 134.1
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#2A401B
secondary
#604175
accent
#57D19F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #2A401B

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

Preview Lab → · Contrast checker → · Palette generator →

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