#2A3020#2A3020

#2A3020 is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.8% C 0.029 H 124.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#2A3020
RGBrgb(42, 48, 32)
HSLhsl(83, 20%, 16%)
HSVhsv(83, 33%, 19%)
CMYKcmyk(12.5%, 0%, 33.3%, 81.2%)
CIE-LABlab(18.84, -6.15, 9.42)
CIE-LCHlch(18.84, 11.25, 123.15°)
OKLaboklab(29.82% -0.0165 0.0237)
OKLCHoklch(29.82% 0.029 124.8)
XYZxyz(2.2725, 2.7104, 1.7697)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3020 #262030
analogous
#302E20 #2A3020 #223020
triadic
#2A3020 #202A30 #30202A
tetradic
#2A3020 #20302E #262030 #302022
square
#2A3020 #20302E #262030 #302022
split-complementary
#2A3020 #202230 #2E2030
monochromatic
#10120C #10120C #2A3020 #4A5538 #6A7951

Accessibility & contrast

On white

13.62
#2A3020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A3020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3020
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3020#FFFFFF#000000##FFFFFF
##2A30201.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1F
Deuteranopia (green-blind)
#312E21
Tritanopia (blue-blind)
#2B2E2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3020;
/* rgb */ color: rgb(42, 48, 32);
/* oklch */ color: oklch(29.8% 0.029 124.8);
Tailwind
colors: {
  custom: {
    50: '#63685b',
    500: '#2a3020',
    950: '#000000',
  },
}
SCSS
$custom: #2a3020;
$custom-light: #63685b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3020",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 32
  },
  "hsl": {
    "h": 82.5,
    "s": 20,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2982,
    "c": 0.0289,
    "h": 124.8
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#2A3020
secondary
#534A62
accent
#6BBD8A
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A3020

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

Preview Lab → · Contrast checker → · Palette generator →

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