#2A3202#2A3202

#2A3202 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.9% C 0.068 H 119.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#2A3202
RGBrgb(42, 50, 2)
HSLhsl(70, 92%, 10%)
HSVhsv(70, 96%, 20%)
CMYKcmyk(16%, 0%, 96%, 80.4%)
CIE-LABlab(19.13, -10.98, 26.08)
CIE-LCHlch(19.13, 28.30, 112.83°)
OKLaboklab(29.91% -0.0332 0.0596)
OKLCHoklch(29.91% 0.068 119.1)
XYZxyz(2.1065, 2.7778, 0.4826)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3202 #0A0232
analogous
#322202 #2A3202 #123202
triadic
#2A3202 #022A32 #32022A
tetradic
#2A3202 #023222 #0A0232 #320212
square
#2A3202 #023222 #0A0232 #320212
split-complementary
#2A3202 #021232 #220232
monochromatic
#191D01 #191D01 #2A3202 #5B6D04 #8DA807

Accessibility & contrast

On white

13.50
#2A3202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3202
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3202#FFFFFF#000000##FFFFFF
##2A32021.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#352F06
Tritanopia (blue-blind)
#2D2F29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3202;
/* rgb */ color: rgb(42, 50, 2);
/* oklch */ color: oklch(29.9% 0.068 119.1);
Tailwind
colors: {
  custom: {
    50: '#656948',
    500: '#2a3202',
    950: '#000000',
  },
}
SCSS
$custom: #2a3202;
$custom-light: #656948;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3202",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 2
  },
  "hsl": {
    "h": 70,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29912,
    "c": 0.06821,
    "h": 119.1
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#2A3202
secondary
#291976
accent
#29FF4D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3202

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

Preview Lab → · Contrast checker → · Palette generator →

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