#2A3218#2A3218

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

Color values

HEX#2A3218
RGBrgb(42, 50, 24)
HSLhsl(78, 35%, 15%)
HSVhsv(78, 52%, 20%)
CMYKcmyk(16%, 0%, 52%, 80.4%)
CIE-LABlab(19.39, -8.75, 15.39)
CIE-LCHlch(19.39, 17.70, 119.64°)
OKLaboklab(30.2% -0.0243 0.0373)
OKLCHoklch(30.2% 0.044 123.1)
XYZxyz(2.2603, 2.8394, 1.2930)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3218 #201832
analogous
#322D18 #2A3218 #1D3218
triadic
#2A3218 #182A32 #32182A
tetradic
#2A3218 #18322D #201832 #32181D
square
#2A3218 #18322D #201832 #32181D
split-complementary
#2A3218 #181D32 #2D1832
monochromatic
#11150A #11150A #2A3218 #4D5B2C #6F8540

Accessibility & contrast

On white

13.39
#2A3218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3218
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3218#FFFFFF#000000##FFFFFF
##2A32181.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F16
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#2C302C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3218;
/* rgb */ color: rgb(42, 50, 24);
/* oklch */ color: oklch(30.2% 0.044 123.1);
Tailwind
colors: {
  custom: {
    50: '#646955',
    500: '#2a3218',
    950: '#000000',
  },
}
SCSS
$custom: #2a3218;
$custom-light: #646955;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3218",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 24
  },
  "hsl": {
    "h": 78.462,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30202,
    "c": 0.04449,
    "h": 123.1
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#2A3218
secondary
#4B3F67
accent
#5DCB7F
background
#F6F6F4
surface
#EBEBE8
border
#C6C6C4
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A3218

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

Preview Lab → · Contrast checker → · Palette generator →

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