#2A3312#2A3312

#2A3312 is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.054 H 122.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2A3312
RGBrgb(42, 51, 18)
HSLhsl(76, 48%, 14%)
HSVhsv(76, 65%, 20%)
CMYKcmyk(17.6%, 0%, 64.7%, 80%)
CIE-LABlab(19.65, -10.16, 19.39)
CIE-LCHlch(19.65, 21.89, 117.65°)
OKLaboklab(30.39% -0.0288 0.0455)
OKLCHoklch(30.39% 0.054 122.3)
XYZxyz(2.2479, 2.9036, 1.0142)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3312 #1B1233
analogous
#332B12 #2A3312 #193312
triadic
#2A3312 #122A33 #33122A
tetradic
#2A3312 #12332B #1B1233 #331219
square
#2A3312 #12332B #1B1233 #331219
split-complementary
#2A3312 #121933 #2B1233
monochromatic
#131708 #131708 #2A3312 #4F6022 #758D32

Accessibility & contrast

On white

13.28
#2A3312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A3312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3312
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3312#FFFFFF#000000##FFFFFF
##2A33121.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36300F
Deuteranopia (green-blind)
#353014
Tritanopia (blue-blind)
#2C302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a3312;
/* rgb */ color: rgb(42, 51, 18);
/* oklch */ color: oklch(30.4% 0.054 122.3);
Tailwind
colors: {
  custom: {
    50: '#646a51',
    500: '#2a3312',
    950: '#000000',
  },
}
SCSS
$custom: #2a3312;
$custom-light: #646a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3312",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 76.364,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30385,
    "c": 0.0539,
    "h": 122.3
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#2A3312
secondary
#44356B
accent
#50D775
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3312

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

Preview Lab → · Contrast checker → · Palette generator →

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