#2D331A#2D331A

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

Color values

HEX#2D331A
RGBrgb(45, 51, 26)
HSLhsl(74, 32%, 15%)
HSVhsv(74, 49%, 20%)
CMYKcmyk(11.8%, 0%, 49%, 80%)
CIE-LABlab(20.04, -7.61, 14.99)
CIE-LCHlch(20.04, 16.81, 116.92°)
OKLaboklab(30.81% -0.021 0.0365)
OKLCHoklch(30.81% 0.042 120)
XYZxyz(2.4525, 3.0001, 1.4270)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D331A #201A33
analogous
#332C1A #2D331A #20331A
triadic
#2D331A #1A2D33 #331A2D
tetradic
#2D331A #1A332C #201A33 #331A20
square
#2D331A #1A332C #201A33 #331A20
split-complementary
#2D331A #1A2033 #2C1A33
monochromatic
#12140A #12140A #2D331A #515C2F #758443

Accessibility & contrast

On white

13.13
#2D331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D331A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D331A#FFFFFF#000000##FFFFFF
##2D331A1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d331a;
/* rgb */ color: rgb(45, 51, 26);
/* oklch */ color: oklch(30.8% 0.042 120.0);
Tailwind
colors: {
  custom: {
    50: '#666a57',
    500: '#2d331a',
    950: '#000000',
  },
}
SCSS
$custom: #2d331a;
$custom-light: #666a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d331a",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 74.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30806,
    "c": 0.04213,
    "h": 120
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#2D331A
secondary
#4A4168
accent
#5FC978
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #2D331A

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

Preview Lab → · Contrast checker → · Palette generator →

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