#2A341E#2A341E

#2A341E is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.9% C 0.040 H 128.4°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2A341E
RGBrgb(42, 52, 30)
HSLhsl(87, 27%, 16%)
HSVhsv(87, 42%, 20%)
CMYKcmyk(19.2%, 0%, 42.3%, 79.6%)
CIE-LABlab(20.21, -9.05, 12.56)
CIE-LCHlch(20.21, 15.48, 125.75°)
OKLaboklab(30.9% -0.0247 0.0311)
OKLCHoklch(30.9% 0.04 128.4)
XYZxyz(2.4171, 3.0419, 1.6879)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A341E #281E34
analogous
#34331E #2A341E #1F341E
triadic
#2A341E #1E2A34 #341E2A
tetradic
#2A341E #1E3433 #281E34 #341E1F
square
#2A341E #1E3433 #281E34 #341E1F
split-complementary
#2A341E #1E1F34 #331E34
monochromatic
#10130B #10130B #2A341E #495B34 #69824B

Accessibility & contrast

On white

13.06
#2A341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A341E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A341E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A341E#FFFFFF#000000##FFFFFF
##2A341E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311C
Deuteranopia (green-blind)
#35311F
Tritanopia (blue-blind)
#2B322E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a341e;
/* rgb */ color: rgb(42, 52, 30);
/* oklch */ color: oklch(30.9% 0.040 128.4);
Tailwind
colors: {
  custom: {
    50: '#646b5a',
    500: '#2a341e',
    950: '#000000',
  },
}
SCSS
$custom: #2a341e;
$custom-light: #646b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a341e",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 87.273,
    "s": 26.829,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30898,
    "c": 0.03973,
    "h": 128.4
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#2A341E
secondary
#554767
accent
#65C390
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #2A341E

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

Preview Lab → · Contrast checker → · Palette generator →

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