#2A321E#2A321E

#2A321E is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.036 H 126.2°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2A321E
RGBrgb(42, 50, 30)
HSLhsl(84, 25%, 16%)
HSVhsv(84, 40%, 20%)
CMYKcmyk(16%, 0%, 40%, 80.4%)
CIE-LABlab(19.50, -7.79, 11.63)
CIE-LCHlch(19.50, 14.00, 123.81°)
OKLaboklab(30.33% -0.0212 0.029)
OKLCHoklch(30.33% 0.036 126.2)
XYZxyz(2.3298, 2.8672, 1.6587)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A321E #261E32
analogous
#32301E #2A321E #20321E
triadic
#2A321E #1E2A32 #321E2A
tetradic
#2A321E #1E3230 #261E32 #321E20
square
#2A321E #1E3230 #261E32 #321E20
split-complementary
#2A321E #1E2032 #301E32
monochromatic
#10130B #10130B #2A321E #4A5835 #6A7E4C

Accessibility & contrast

On white

13.35
#2A321E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A321E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A321E#FFFFFF#000000##FFFFFF
##2A321E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a321e;
/* rgb */ color: rgb(42, 50, 30);
/* oklch */ color: oklch(30.3% 0.036 126.2);
Tailwind
colors: {
  custom: {
    50: '#63695a',
    500: '#2a321e',
    950: '#000000',
  },
}
SCSS
$custom: #2a321e;
$custom-light: #63695a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a321e",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 30
  },
  "hsl": {
    "h": 84,
    "s": 25,
    "l": 15.686
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.03587,
    "h": 126.2
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#2A321E
secondary
#534765
accent
#66C18B
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A321E

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

Preview Lab → · Contrast checker → · Palette generator →

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