#2A321A#2A321A

#2A321A is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.2% C 0.042 H 123.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2A321A
RGBrgb(42, 50, 26)
HSLhsl(80, 32%, 15%)
HSVhsv(80, 48%, 20%)
CMYKcmyk(16%, 0%, 48%, 80.4%)
CIE-LABlab(19.42, -8.45, 14.15)
CIE-LCHlch(19.42, 16.48, 120.85°)
OKLaboklab(30.24% -0.0233 0.0346)
OKLCHoklch(30.24% 0.042 123.9)
XYZxyz(2.2819, 2.8480, 1.4066)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A321A #221A32
analogous
#322E1A #2A321A #1E321A
triadic
#2A321A #1A2A32 #321A2A
tetradic
#2A321A #1A322E #221A32 #321A1E
square
#2A321A #1A322E #221A32 #321A1E
split-complementary
#2A321A #1A1E32 #2E1A32
monochromatic
#11140A #11140A #2A321A #4C5A2F #6E8344

Accessibility & contrast

On white

13.38
#2A321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A321A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A321A#FFFFFF#000000##FFFFFF
##2A321A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F18
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#2C302C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a321a;
/* rgb */ color: rgb(42, 50, 26);
/* oklch */ color: oklch(30.2% 0.042 123.9);
Tailwind
colors: {
  custom: {
    50: '#646957',
    500: '#2a321a',
    950: '#000000',
  },
}
SCSS
$custom: #2a321a;
$custom-light: #646957;
$custom-dark: #000000;
JSON
{
  "hex": "#2a321a",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 80,
    "s": 31.579,
    "l": 14.902
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.0417,
    "h": 123.9
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#2A321A
secondary
#4E4166
accent
#60C883
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A321A

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

Preview Lab → · Contrast checker → · Palette generator →

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