#2A3512#2A3512

#2A3512 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.057 H 124.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2A3512
RGBrgb(42, 53, 18)
HSLhsl(79, 49%, 14%)
HSVhsv(79, 66%, 21%)
CMYKcmyk(20.8%, 0%, 66%, 79.2%)
CIE-LABlab(20.37, -11.37, 20.22)
CIE-LCHlch(20.37, 23.20, 119.35°)
OKLaboklab(30.96% -0.0322 0.0473)
OKLCHoklch(30.96% 0.057 124.3)
XYZxyz(2.3371, 3.0821, 1.0439)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3512 #1D1235
analogous
#352F12 #2A3512 #193512
triadic
#2A3512 #122A35 #35122A
tetradic
#2A3512 #12352F #1D1235 #351219
square
#2A3512 #12352F #1D1235 #351219
split-complementary
#2A3512 #121935 #2F1235
monochromatic
#121708 #121708 #2A3512 #4E6322 #729031

Accessibility & contrast

On white

12.99
#2A3512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A3512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3512
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3512#FFFFFF#000000##FFFFFF
##2A35121.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310E
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#2C322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3512;
/* rgb */ color: rgb(42, 53, 18);
/* oklch */ color: oklch(31.0% 0.057 124.3);
Tailwind
colors: {
  custom: {
    50: '#646c51',
    500: '#2a3512',
    950: '#000000',
  },
}
SCSS
$custom: #2a3512;
$custom-light: #646c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3512",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 18
  },
  "hsl": {
    "h": 78.857,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30962,
    "c": 0.05726,
    "h": 124.3
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#2A3512
secondary
#47356D
accent
#4FD97A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3512

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

Preview Lab → · Contrast checker → · Palette generator →

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