#2A331A#2A331A

#2A331A is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.5% C 0.044 H 125.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#2A331A
RGBrgb(42, 51, 26)
HSLhsl(82, 32%, 15%)
HSVhsv(82, 49%, 20%)
CMYKcmyk(17.6%, 0%, 49%, 80%)
CIE-LABlab(19.78, -9.08, 14.60)
CIE-LCHlch(19.78, 17.19, 121.87°)
OKLaboklab(30.53% -0.025 0.0356)
OKLCHoklch(30.53% 0.044 125.1)
XYZxyz(2.3251, 2.9345, 1.4210)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A331A #231A33
analogous
#33301A #2A331A #1D331A
triadic
#2A331A #1A2A33 #331A2A
tetradic
#2A331A #1A3330 #231A33 #331A1D
square
#2A331A #1A3330 #231A33 #331A1D
split-complementary
#2A331A #1A1D33 #301A33
monochromatic
#11140A #11140A #2A331A #4B5C2F #6D8443

Accessibility & contrast

On white

13.23
#2A331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A331A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A331A
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A331A#FFFFFF#000000##FFFFFF
##2A331A1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363018
Deuteranopia (green-blind)
#34301B
Tritanopia (blue-blind)
#2C312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a331a;
/* rgb */ color: rgb(42, 51, 26);
/* oklch */ color: oklch(30.5% 0.044 125.1);
Tailwind
colors: {
  custom: {
    50: '#646a57',
    500: '#2a331a',
    950: '#000000',
  },
}
SCSS
$custom: #2a331a;
$custom-light: #646a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a331a",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 81.6,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30527,
    "c": 0.04354,
    "h": 125.1
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#2A331A
secondary
#4F4168
accent
#5FC985
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A331A

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

Preview Lab → · Contrast checker → · Palette generator →

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