#2A3612#2A3612

#2A3612 is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.3% C 0.059 H 125.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#2A3612
RGBrgb(42, 54, 18)
HSLhsl(80, 50%, 14%)
HSVhsv(80, 67%, 21%)
CMYKcmyk(22.2%, 0%, 66.7%, 78.8%)
CIE-LABlab(20.73, -11.97, 20.63)
CIE-LCHlch(20.73, 23.85, 120.12°)
OKLaboklab(31.25% -0.0339 0.0482)
OKLCHoklch(31.25% 0.059 125.1)
XYZxyz(2.3832, 3.1742, 1.0593)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3612 #1E1236
analogous
#363012 #2A3612 #183612
triadic
#2A3612 #122A36 #36122A
tetradic
#2A3612 #123630 #1E1236 #361218
square
#2A3612 #123630 #1E1236 #361218
split-complementary
#2A3612 #121836 #301236
monochromatic
#121708 #121708 #2A3612 #4E6421 #719231

Accessibility & contrast

On white

12.85
#2A3612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A3612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3612
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3612#FFFFFF#000000##FFFFFF
##2A36121.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320E
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#2C332E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3612;
/* rgb */ color: rgb(42, 54, 18);
/* oklch */ color: oklch(31.3% 0.059 125.1);
Tailwind
colors: {
  custom: {
    50: '#656d51',
    500: '#2a3612',
    950: '#000000',
  },
}
SCSS
$custom: #2a3612;
$custom-light: #656d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3612",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 18
  },
  "hsl": {
    "h": 80,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.05894,
    "h": 125.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#2A3612
secondary
#48356F
accent
#4EDA7D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #2A3612

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

Preview Lab → · Contrast checker → · Palette generator →

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