#2A3715#2A3715

#2A3715 is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.057 H 126.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2A3715
RGBrgb(42, 55, 21)
HSLhsl(83, 45%, 15%)
HSVhsv(83, 62%, 22%)
CMYKcmyk(23.6%, 0%, 61.8%, 78.4%)
CIE-LABlab(21.13, -12.20, 19.35)
CIE-LCHlch(21.13, 22.87, 122.24°)
OKLaboklab(31.59% -0.0342 0.0458)
OKLCHoklch(31.59% 0.057 126.8)
XYZxyz(2.4564, 3.2787, 1.2128)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3715 #221537
analogous
#373315 #2A3715 #193715
triadic
#2A3715 #152A37 #37152A
tetradic
#2A3715 #153733 #221537 #371519
square
#2A3715 #153733 #221537 #371519
split-complementary
#2A3715 #151937 #331537
monochromatic
#111608 #111608 #2A3715 #4C6326 #6E9037

Accessibility & contrast

On white

12.68
#2A3715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2A3715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3715
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3715#FFFFFF#000000##FFFFFF
##2A37151.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3312
Deuteranopia (green-blind)
#383317
Tritanopia (blue-blind)
#2C342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3715;
/* rgb */ color: rgb(42, 55, 21);
/* oklch */ color: oklch(31.6% 0.057 126.8);
Tailwind
colors: {
  custom: {
    50: '#646d53',
    500: '#2a3715',
    950: '#000000',
  },
}
SCSS
$custom: #2a3715;
$custom-light: #646d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3715",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 21
  },
  "hsl": {
    "h": 82.941,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31585,
    "c": 0.05717,
    "h": 126.8
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#2A3715
secondary
#4E3A6E
accent
#53D485
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3715

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

Preview Lab → · Contrast checker → · Palette generator →

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