#2D331F#2D331F

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

Color values

HEX#2D331F
RGBrgb(45, 51, 31)
HSLhsl(78, 24%, 16%)
HSVhsv(78, 39%, 20%)
CMYKcmyk(11.8%, 0%, 39.2%, 80%)
CIE-LABlab(20.14, -6.82, 11.87)
CIE-LCHlch(20.14, 13.69, 119.90°)
OKLaboklab(30.92% -0.0185 0.0295)
OKLCHoklch(30.92% 0.035 122)
XYZxyz(2.5133, 3.0245, 1.7474)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D331F #251F33
analogous
#332F1F #2D331F #23331F
triadic
#2D331F #1F2D33 #331F2D
tetradic
#2D331F #1F332F #251F33 #331F23
square
#2D331F #1F332F #251F33 #331F23
split-complementary
#2D331F #1F2333 #2F1F33
monochromatic
#11130C #11130C #2D331F #4F5936 #707F4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D331F#FFFFFF#000000##FFFFFF
##2D331F1.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)
#35311E
Deuteranopia (green-blind)
#353120
Tritanopia (blue-blind)
#2F312E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d331f;
/* rgb */ color: rgb(45, 51, 31);
/* oklch */ color: oklch(30.9% 0.035 122.0);
Tailwind
colors: {
  custom: {
    50: '#666a5a',
    500: '#2d331f',
    950: '#000000',
  },
}
SCSS
$custom: #2d331f;
$custom-light: #666a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d331f",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 78,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.30916,
    "c": 0.03482,
    "h": 122
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#2D331F
secondary
#514866
accent
#67C182
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #2D331F

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

Preview Lab → · Contrast checker → · Palette generator →

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