#2A341A#2A341A

#2A341A is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.045 H 126.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2A341A
RGBrgb(42, 52, 26)
HSLhsl(83, 33%, 15%)
HSVhsv(83, 50%, 20%)
CMYKcmyk(19.2%, 0%, 50%, 79.6%)
CIE-LABlab(20.14, -9.69, 15.05)
CIE-LCHlch(20.14, 17.90, 122.78°)
OKLaboklab(30.81% -0.0267 0.0367)
OKLCHoklch(30.81% 0.045 126.1)
XYZxyz(2.3693, 3.0228, 1.4357)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A341A #241A34
analogous
#34311A #2A341A #1D341A
triadic
#2A341A #1A2A34 #341A2A
tetradic
#2A341A #1A3431 #241A34 #341A1D
square
#2A341A #1A3431 #241A34 #341A1D
split-complementary
#2A341A #1A1D34 #311A34
monochromatic
#10140A #10140A #2A341A #4B5D2E #6C8643

Accessibility & contrast

On white

13.09
#2A341A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2A341A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A341A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A341A#FFFFFF#000000##FFFFFF
##2A341A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#2B322E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a341a;
/* rgb */ color: rgb(42, 52, 26);
/* oklch */ color: oklch(30.8% 0.045 126.1);
Tailwind
colors: {
  custom: {
    50: '#646b57',
    500: '#2a341a',
    950: '#000000',
  },
}
SCSS
$custom: #2a341a;
$custom-light: #646b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a341a",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 26
  },
  "hsl": {
    "h": 83.077,
    "s": 33.333,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30812,
    "c": 0.04538,
    "h": 126.1
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#2A341A
secondary
#504169
accent
#5EC988
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A341A

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

Preview Lab → · Contrast checker → · Palette generator →

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