#2A3204#2A3204

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

Color values

HEX#2A3204
RGBrgb(42, 50, 4)
HSLhsl(70, 85%, 11%)
HSVhsv(70, 92%, 20%)
CMYKcmyk(16%, 0%, 92%, 80.4%)
CIE-LABlab(19.15, -10.82, 25.29)
CIE-LCHlch(19.15, 27.51, 113.16°)
OKLaboklab(29.93% -0.0324 0.0578)
OKLCHoklch(29.93% 0.066 119.3)
XYZxyz(2.1174, 2.7822, 0.5403)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3204 #0C0432
analogous
#322304 #2A3204 #133204
triadic
#2A3204 #042A32 #32042A
tetradic
#2A3204 #043223 #0C0432 #320413
square
#2A3204 #043223 #0C0432 #320413
split-complementary
#2A3204 #041332 #230432
monochromatic
#181C02 #181C02 #2A3204 #5A6B09 #89A30D

Accessibility & contrast

On white

13.49
#2A3204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3204
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3204#FFFFFF#000000##FFFFFF
##2A32041.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3204;
/* rgb */ color: rgb(42, 50, 4);
/* oklch */ color: oklch(29.9% 0.066 119.3);
Tailwind
colors: {
  custom: {
    50: '#656949',
    500: '#2a3204',
    950: '#000000',
  },
}
SCSS
$custom: #2a3204;
$custom-light: #656949;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3204",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 70.435,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29933,
    "c": 0.06625,
    "h": 119.3
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#2A3204
secondary
#2D1D74
accent
#2CFB50
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3204

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

Preview Lab → · Contrast checker → · Palette generator →

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