#2A321F#2A321F

#2A321F is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.034 H 126.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#2A321F
RGBrgb(42, 50, 31)
HSLhsl(85, 23%, 16%)
HSVhsv(85, 38%, 20%)
CMYKcmyk(16%, 0%, 38%, 80.4%)
CIE-LABlab(19.53, -7.62, 11.00)
CIE-LCHlch(19.53, 13.38, 124.70°)
OKLaboklab(30.36% -0.0206 0.0275)
OKLCHoklch(30.36% 0.034 126.9)
XYZxyz(2.3427, 2.8724, 1.7271)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A321F #271F32
analogous
#32301F #2A321F #20321F
triadic
#2A321F #1F2A32 #321F2A
tetradic
#2A321F #1F3230 #271F32 #321F20
square
#2A321F #1F3230 #271F32 #321F20
split-complementary
#2A321F #1F2032 #301F32
monochromatic
#10130C #10130C #2A321F #4A5836 #697E4E

Accessibility & contrast

On white

13.34
#2A321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2A321F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A321F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A321F#FFFFFF#000000##FFFFFF
##2A321F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#332F20
Tritanopia (blue-blind)
#2B302D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a321f;
/* rgb */ color: rgb(42, 50, 31);
/* oklch */ color: oklch(30.4% 0.034 126.9);
Tailwind
colors: {
  custom: {
    50: '#63695a',
    500: '#2a321f',
    950: '#000000',
  },
}
SCSS
$custom: #2a321f;
$custom-light: #63695a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a321f",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 85.263,
    "s": 23.457,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30356,
    "c": 0.03437,
    "h": 126.9
  },
  "luminance": 0.02872
}

Semantic roles & 50–950 ramp

primary
#2A321F
secondary
#544865
accent
#68C08D
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A321F

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

Preview Lab → · Contrast checker → · Palette generator →

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