#2A3A1E#2A3A1E

#2A3A1E is a dark, muted yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.051 H 132.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2A3A1E
RGBrgb(42, 58, 30)
HSLhsl(94, 32%, 17%)
HSVhsv(94, 48%, 23%)
CMYKcmyk(27.6%, 0%, 48.3%, 77.3%)
CIE-LABlab(22.34, -12.68, 15.32)
CIE-LCHlch(22.34, 19.89, 129.60°)
OKLaboklab(32.62% -0.0348 0.0375)
OKLCHoklch(32.62% 0.051 132.9)
XYZxyz(2.7022, 3.6120, 1.7829)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A1E #2E1E3A
analogous
#383A1E #2A3A1E #1E3A20
triadic
#2A3A1E #1E2A3A #3A1E2A
tetradic
#2A3A1E #1E383A #2E1E3A #3A201E
square
#2A3A1E #1E383A #2E1E3A #3A201E
split-complementary
#2A3A1E #201E3A #3A1E38
monochromatic
#0F140A #0F140A #2A3A1E #476233 #648B48

Accessibility & contrast

On white

12.19
#2A3A1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2A3A1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A1E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A1E#FFFFFF#000000##FFFFFF
##2A3A1E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361C
Deuteranopia (green-blind)
#3A3520
Tritanopia (blue-blind)
#2A3833
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a1e;
/* rgb */ color: rgb(42, 58, 30);
/* oklch */ color: oklch(32.6% 0.051 132.9);
Tailwind
colors: {
  custom: {
    50: '#64705a',
    500: '#2a3a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a1e;
$custom-light: #64705a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a1e",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 30
  },
  "hsl": {
    "h": 94.286,
    "s": 31.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.32615,
    "c": 0.05117,
    "h": 132.9
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#2A3A1E
secondary
#5D466E
accent
#60C89B
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050703
muted
#7A7A78

Preview Lab

Preview with #2A3A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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