#2A331B#2A331B

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

Color values

HEX#2A331B
RGBrgb(42, 51, 27)
HSLhsl(83, 31%, 15%)
HSVhsv(83, 47%, 20%)
CMYKcmyk(17.6%, 0%, 47.1%, 80%)
CIE-LABlab(19.80, -8.92, 13.98)
CIE-LCHlch(19.80, 16.58, 122.54°)
OKLaboklab(30.55% -0.0245 0.0343)
OKLCHoklch(30.55% 0.042 125.6)
XYZxyz(2.3365, 2.9390, 1.4809)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A331B #241B33
analogous
#33301B #2A331B #1E331B
triadic
#2A331B #1B2A33 #331B2A
tetradic
#2A331B #1B3330 #241B33 #331B1E
square
#2A331B #1B3330 #241B33 #331B1E
split-complementary
#2A331B #1B1E33 #301B33
monochromatic
#10140B #10140B #2A331B #4B5B30 #6C8345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A331B#FFFFFF#000000##FFFFFF
##2A331B1.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)
#353019
Deuteranopia (green-blind)
#34301C
Tritanopia (blue-blind)
#2B312D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a331b;
/* rgb */ color: rgb(42, 51, 27);
/* oklch */ color: oklch(30.5% 0.042 125.6);
Tailwind
colors: {
  custom: {
    50: '#646a57',
    500: '#2a331b',
    950: '#000000',
  },
}
SCSS
$custom: #2a331b;
$custom-light: #646a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2a331b",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 82.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.04214,
    "h": 125.6
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#2A331B
secondary
#504367
accent
#61C787
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A331B

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

Preview Lab → · Contrast checker → · Palette generator →

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