#2A3820#2A3820

#2A3820 is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.045 H 133.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2A3820
RGBrgb(42, 56, 32)
HSLhsl(95, 27%, 17%)
HSVhsv(95, 43%, 22%)
CMYKcmyk(25%, 0%, 42.9%, 78%)
CIE-LABlab(21.67, -11.15, 13.18)
CIE-LCHlch(21.67, 17.26, 130.23°)
OKLaboklab(32.08% -0.0305 0.0326)
OKLCHoklch(32.08% 0.045 133)
XYZxyz(2.6297, 3.4248, 1.8887)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3820 #2E2038
analogous
#363820 #2A3820 #203822
triadic
#2A3820 #202A38 #38202A
tetradic
#2A3820 #203638 #2E2038 #382220
square
#2A3820 #203638 #2E2038 #382220
split-complementary
#2A3820 #222038 #382036
monochromatic
#0F130B #0F130B #2A3820 #475F36 #64864D

Accessibility & contrast

On white

12.46
#2A3820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A3820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3820
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3820#FFFFFF#000000##FFFFFF
##2A38201.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351E
Deuteranopia (green-blind)
#383421
Tritanopia (blue-blind)
#2A3632
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a3820;
/* rgb */ color: rgb(42, 56, 32);
/* oklch */ color: oklch(32.1% 0.045 133.0);
Tailwind
colors: {
  custom: {
    50: '#646e5b',
    500: '#2a3820',
    950: '#000000',
  },
}
SCSS
$custom: #2a3820;
$custom-light: #646e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3820",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 32
  },
  "hsl": {
    "h": 95,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.32084,
    "c": 0.04465,
    "h": 133
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#2A3820
secondary
#5D496B
accent
#64C49C
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050704
muted
#7A7A79

Preview Lab

Preview with #2A3820

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

Preview Lab → · Contrast checker → · Palette generator →

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