#2A321B#2A321B

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

Color values

HEX#2A321B
RGBrgb(42, 50, 27)
HSLhsl(81, 30%, 15%)
HSVhsv(81, 46%, 20%)
CMYKcmyk(16%, 0%, 46%, 80.4%)
CIE-LABlab(19.44, -8.29, 13.52)
CIE-LCHlch(19.44, 15.86, 121.52°)
OKLaboklab(30.26% -0.0227 0.0332)
OKLCHoklch(30.26% 0.04 124.4)
XYZxyz(2.2933, 2.8526, 1.4665)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A321B #231B32
analogous
#322F1B #2A321B #1E321B
triadic
#2A321B #1B2A32 #321B2A
tetradic
#2A321B #1B322F #231B32 #321B1E
square
#2A321B #1B322F #231B32 #321B1E
split-complementary
#2A321B #1B1E32 #2F1B32
monochromatic
#11140B #11140B #2A321B #4B5A30 #6D8146

Accessibility & contrast

On white

13.37
#2A321B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A321B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A321B#FFFFFF#000000##FFFFFF
##2A321B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#2B302C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a321b;
/* rgb */ color: rgb(42, 50, 27);
/* oklch */ color: oklch(30.3% 0.040 124.4);
Tailwind
colors: {
  custom: {
    50: '#646957',
    500: '#2a321b',
    950: '#000000',
  },
}
SCSS
$custom: #2a321b;
$custom-light: #646957;
$custom-dark: #000000;
JSON
{
  "hex": "#2a321b",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 80.87,
    "s": 29.87,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30264,
    "c": 0.04027,
    "h": 124.4
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#2A321B
secondary
#4F4366
accent
#62C685
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A321B

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

Preview Lab → · Contrast checker → · Palette generator →

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