#2A3305#2A3305

#2A3305 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.067 H 120.4°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#2A3305
RGBrgb(42, 51, 5)
HSLhsl(72, 82%, 11%)
HSVhsv(72, 90%, 20%)
CMYKcmyk(17.6%, 0%, 90.2%, 80%)
CIE-LABlab(19.52, -11.34, 25.31)
CIE-LCHlch(19.52, 27.73, 114.14°)
OKLaboklab(30.23% -0.0337 0.0576)
OKLCHoklch(30.23% 0.067 120.4)
XYZxyz(2.1661, 2.8709, 0.5836)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3305 #0E0533
analogous
#332505 #2A3305 #133305
triadic
#2A3305 #052A33 #33052A
tetradic
#2A3305 #053325 #0E0533 #330513
square
#2A3305 #053325 #0E0533 #330513
split-complementary
#2A3305 #051333 #250533
monochromatic
#171C03 #171C03 #2A3305 #586B0A #86A210

Accessibility & contrast

On white

13.34
#2A3305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2A3305 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3305
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3305#FFFFFF#000000##FFFFFF
##2A33051.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#2D302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3305;
/* rgb */ color: rgb(42, 51, 5);
/* oklch */ color: oklch(30.2% 0.067 120.4);
Tailwind
colors: {
  custom: {
    50: '#656a4a',
    500: '#2a3305',
    950: '#000000',
  },
}
SCSS
$custom: #2a3305;
$custom-light: #656a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3305",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 5
  },
  "hsl": {
    "h": 71.739,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30234,
    "c": 0.06672,
    "h": 120.4
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#2A3305
secondary
#301F74
accent
#2FF857
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3305

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

Preview Lab → · Contrast checker → · Palette generator →

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