#2A3205#2A3205

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

Color values

HEX#2A3205
RGBrgb(42, 50, 5)
HSLhsl(71, 82%, 11%)
HSVhsv(71, 90%, 20%)
CMYKcmyk(16%, 0%, 90%, 80.4%)
CIE-LABlab(19.16, -10.74, 24.89)
CIE-LCHlch(19.16, 27.11, 113.33°)
OKLaboklab(29.94% -0.0321 0.0569)
OKLCHoklch(29.94% 0.065 119.4)
XYZxyz(2.1229, 2.7844, 0.5692)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3205 #0D0532
analogous
#322305 #2A3205 #133205
triadic
#2A3205 #052A32 #32052A
tetradic
#2A3205 #053223 #0D0532 #320513
square
#2A3205 #053223 #0D0532 #320513
split-complementary
#2A3205 #051332 #230532
monochromatic
#171C03 #171C03 #2A3205 #596A0B #87A110

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3205#FFFFFF#000000##FFFFFF
##2A32051.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)
#362F00
Deuteranopia (green-blind)
#352F08
Tritanopia (blue-blind)
#2D2F29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3205;
/* rgb */ color: rgb(42, 50, 5);
/* oklch */ color: oklch(29.9% 0.065 119.4);
Tailwind
colors: {
  custom: {
    50: '#656949',
    500: '#2a3205',
    950: '#000000',
  },
}
SCSS
$custom: #2a3205;
$custom-light: #656949;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3205",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 5
  },
  "hsl": {
    "h": 70.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.06529,
    "h": 119.4
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#2A3205
secondary
#2E1F73
accent
#30F853
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3205

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

Preview Lab → · Contrast checker → · Palette generator →

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