#2A321C#2A321C

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

Color values

HEX#2A321C
RGBrgb(42, 50, 28)
HSLhsl(82, 28%, 15%)
HSVhsv(82, 44%, 20%)
CMYKcmyk(16%, 0%, 44%, 80.4%)
CIE-LABlab(19.46, -8.13, 12.90)
CIE-LCHlch(19.46, 15.25, 122.23°)
OKLaboklab(30.29% -0.0222 0.0318)
OKLCHoklch(30.29% 0.039 124.9)
XYZxyz(2.3050, 2.8573, 1.5285)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A321C #241C32
analogous
#322F1C #2A321C #1F321C
triadic
#2A321C #1C2A32 #321C2A
tetradic
#2A321C #1C322F #241C32 #321C1F
square
#2A321C #1C322F #241C32 #321C1F
split-complementary
#2A321C #1C1F32 #2F1C32
monochromatic
#10140B #10140B #2A321C #4B5932 #6C8048

Accessibility & contrast

On white

13.36
#2A321C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A321C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A321C#FFFFFF#000000##FFFFFF
##2A321C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a321c;
/* rgb */ color: rgb(42, 50, 28);
/* oklch */ color: oklch(30.3% 0.039 124.9);
Tailwind
colors: {
  custom: {
    50: '#646958',
    500: '#2a321c',
    950: '#000000',
  },
}
SCSS
$custom: #2a321c;
$custom-light: #646958;
$custom-dark: #000000;
JSON
{
  "hex": "#2a321c",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 28
  },
  "hsl": {
    "h": 81.818,
    "s": 28.205,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30286,
    "c": 0.03882,
    "h": 124.9
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#2A321C
secondary
#504466
accent
#63C587
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A321C

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

Preview Lab → · Contrast checker → · Palette generator →

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