#2D3211#2D3211

#2D3211 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.052 H 116.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2D3211
RGBrgb(45, 50, 17)
HSLhsl(69, 49%, 13%)
HSVhsv(69, 66%, 20%)
CMYKcmyk(10%, 0%, 66%, 80.4%)
CIE-LABlab(19.56, -8.13, 19.93)
CIE-LCHlch(19.56, 21.53, 112.19°)
OKLaboklab(30.37% -0.0235 0.0465)
OKLCHoklch(30.37% 0.052 116.8)
XYZxyz(2.3240, 2.8796, 0.9636)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3211 #161132
analogous
#322611 #2D3211 #1C3211
triadic
#2D3211 #112D32 #32112D
tetradic
#2D3211 #113226 #161132 #32111C
square
#2D3211 #113226 #161132 #32111C
split-complementary
#2D3211 #111C32 #261132
monochromatic
#151708 #151708 #2D3211 #566021 #7F8D30

Accessibility & contrast

On white

13.32
#2D3211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2D3211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3211
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3211#FFFFFF#000000##FFFFFF
##2D32111.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F0E
Deuteranopia (green-blind)
#353013
Tritanopia (blue-blind)
#302F2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d3211;
/* rgb */ color: rgb(45, 50, 17);
/* oklch */ color: oklch(30.4% 0.052 116.8);
Tailwind
colors: {
  custom: {
    50: '#676950',
    500: '#2d3211',
    950: '#000000',
  },
}
SCSS
$custom: #2d3211;
$custom-light: #676950;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3211",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 17
  },
  "hsl": {
    "h": 69.091,
    "s": 49.254,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30369,
    "c": 0.05212,
    "h": 116.8
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#2D3211
secondary
#3C346B
accent
#4FD964
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3211

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

Preview Lab → · Contrast checker → · Palette generator →

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