#2A3206#2A3206

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

Color values

HEX#2A3206
RGBrgb(42, 50, 6)
HSLhsl(71, 79%, 11%)
HSVhsv(71, 88%, 20%)
CMYKcmyk(16%, 0%, 88%, 80.4%)
CIE-LABlab(19.17, -10.66, 24.50)
CIE-LCHlch(19.17, 26.71, 113.51°)
OKLaboklab(29.95% -0.0317 0.056)
OKLCHoklch(29.95% 0.064 119.5)
XYZxyz(2.1284, 2.7866, 0.5980)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3206 #0E0632
analogous
#322406 #2A3206 #143206
triadic
#2A3206 #062A32 #32062A
tetradic
#2A3206 #063224 #0E0632 #320614
square
#2A3206 #063224 #0E0632 #320614
split-complementary
#2A3206 #061432 #240632
monochromatic
#171B03 #171B03 #2A3206 #58690D #869F13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3206#FFFFFF#000000##FFFFFF
##2A32061.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)
#362F01
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#2D2F2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3206;
/* rgb */ color: rgb(42, 50, 6);
/* oklch */ color: oklch(30.0% 0.064 119.5);
Tailwind
colors: {
  custom: {
    50: '#65694a',
    500: '#2a3206',
    950: '#000000',
  },
}
SCSS
$custom: #2a3206;
$custom-light: #65694a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3206",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 6
  },
  "hsl": {
    "h": 70.909,
    "s": 78.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29954,
    "c": 0.06435,
    "h": 119.5
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#2A3206
secondary
#302173
accent
#33F556
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3206

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

Preview Lab → · Contrast checker → · Palette generator →

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