#2A331D#2A331D

#2A331D is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.6% C 0.039 H 126.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#2A331D
RGBrgb(42, 51, 29)
HSLhsl(85, 28%, 16%)
HSVhsv(85, 43%, 20%)
CMYKcmyk(17.6%, 0%, 43.1%, 80%)
CIE-LABlab(19.84, -8.59, 12.73)
CIE-LCHlch(19.84, 15.36, 124.02°)
OKLaboklab(30.59% -0.0235 0.0315)
OKLCHoklch(30.59% 0.039 126.7)
XYZxyz(2.3604, 2.9486, 1.6069)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A331D #261D33
analogous
#33311D #2A331D #1F331D
triadic
#2A331D #1D2A33 #331D2A
tetradic
#2A331D #1D3331 #261D33 #331D1F
square
#2A331D #1D3331 #261D33 #331D1F
split-complementary
#2A331D #1D1F33 #311D33
monochromatic
#10140B #10140B #2A331D #4A5A33 #6A8149

Accessibility & contrast

On white

13.21
#2A331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A331D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A331D#FFFFFF#000000##FFFFFF
##2A331D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#2B312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a331d;
/* rgb */ color: rgb(42, 51, 29);
/* oklch */ color: oklch(30.6% 0.039 126.7);
Tailwind
colors: {
  custom: {
    50: '#646a59',
    500: '#2a331d',
    950: '#000000',
  },
}
SCSS
$custom: #2a331d;
$custom-light: #646a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2a331d",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 84.545,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.30592,
    "c": 0.03926,
    "h": 126.7
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#2A331D
secondary
#534566
accent
#64C48B
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A331D

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

Preview Lab → · Contrast checker → · Palette generator →

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