#2A3208#2A3208

#2A3208 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.062 H 119.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#2A3208
RGBrgb(42, 50, 8)
HSLhsl(71, 72%, 11%)
HSVhsv(71, 84%, 20%)
CMYKcmyk(16%, 0%, 84%, 80.4%)
CIE-LABlab(19.19, -10.49, 23.70)
CIE-LCHlch(19.19, 25.92, 113.88°)
OKLaboklab(29.97% -0.031 0.0543)
OKLCHoklch(29.97% 0.062 119.7)
XYZxyz(2.1393, 2.7910, 0.6557)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3208 #100832
analogous
#322508 #2A3208 #153208
triadic
#2A3208 #082A32 #32082A
tetradic
#2A3208 #083225 #100832 #320815
square
#2A3208 #083225 #100832 #320815
split-complementary
#2A3208 #081532 #250832
monochromatic
#161A04 #161A04 #2A3208 #566710 #839C19

Accessibility & contrast

On white

13.48
#2A3208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A3208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3208
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3208#FFFFFF#000000##FFFFFF
##2A32081.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F03
Deuteranopia (green-blind)
#352F0B
Tritanopia (blue-blind)
#2D2F2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3208;
/* rgb */ color: rgb(42, 50, 8);
/* oklch */ color: oklch(30.0% 0.062 119.7);
Tailwind
colors: {
  custom: {
    50: '#65694b',
    500: '#2a3208',
    950: '#000000',
  },
}
SCSS
$custom: #2a3208;
$custom-light: #65694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3208",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 8
  },
  "hsl": {
    "h": 71.429,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29974,
    "c": 0.06248,
    "h": 119.7
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#2A3208
secondary
#332571
accent
#39EF5B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3208

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

Preview Lab → · Contrast checker → · Palette generator →

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