#2A3216#2A3216

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

Color values

HEX#2A3216
RGBrgb(42, 50, 22)
HSLhsl(77, 39%, 14%)
HSVhsv(77, 56%, 20%)
CMYKcmyk(16%, 0%, 56%, 80.4%)
CIE-LABlab(19.36, -9.04, 16.61)
CIE-LCHlch(19.36, 18.91, 118.55°)
OKLaboklab(30.16% -0.0253 0.0399)
OKLCHoklch(30.16% 0.047 122.4)
XYZxyz(2.2403, 2.8314, 1.1874)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3216 #1E1632
analogous
#322C16 #2A3216 #1C3216
triadic
#2A3216 #162A32 #32162A
tetradic
#2A3216 #16322C #1E1632 #32161C
square
#2A3216 #16322C #1E1632 #32161C
split-complementary
#2A3216 #161C32 #2C1632
monochromatic
#121509 #121509 #2A3216 #4E5D29 #71873B

Accessibility & contrast

On white

13.41
#2A3216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3216
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3216#FFFFFF#000000##FFFFFF
##2A32161.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F14
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#2C302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3216;
/* rgb */ color: rgb(42, 50, 22);
/* oklch */ color: oklch(30.2% 0.047 122.4);
Tailwind
colors: {
  custom: {
    50: '#646954',
    500: '#2a3216',
    950: '#000000',
  },
}
SCSS
$custom: #2a3216;
$custom-light: #646954;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3216",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 22
  },
  "hsl": {
    "h": 77.143,
    "s": 38.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.30164,
    "c": 0.04719,
    "h": 122.4
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#2A3216
secondary
#483C68
accent
#59CF7B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3216

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

Preview Lab → · Contrast checker → · Palette generator →

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