#2D3213#2D3213

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

Color values

HEX#2D3213
RGBrgb(45, 50, 19)
HSLhsl(70, 45%, 14%)
HSVhsv(70, 62%, 20%)
CMYKcmyk(10%, 0%, 62%, 80.4%)
CIE-LABlab(19.58, -7.91, 18.78)
CIE-LCHlch(19.58, 20.38, 112.83°)
OKLaboklab(30.4% -0.0226 0.0443)
OKLCHoklch(30.4% 0.05 117)
XYZxyz(2.3404, 2.8861, 1.0498)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3213 #181332
analogous
#322713 #2D3213 #1D3213
triadic
#2D3213 #132D32 #32132D
tetradic
#2D3213 #133227 #181332 #32131D
square
#2D3213 #133227 #181332 #32131D
split-complementary
#2D3213 #131D32 #271332
monochromatic
#141608 #141608 #2D3213 #555E24 #7D8B35

Accessibility & contrast

On white

13.31
#2D3213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3213
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3213#FFFFFF#000000##FFFFFF
##2D32131.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F10
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#302F2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d3213;
/* rgb */ color: rgb(45, 50, 19);
/* oklch */ color: oklch(30.4% 0.050 117.0);
Tailwind
colors: {
  custom: {
    50: '#676951',
    500: '#2d3213',
    950: '#000000',
  },
}
SCSS
$custom: #2d3213;
$custom-light: #676951;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3213",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 19
  },
  "hsl": {
    "h": 69.677,
    "s": 44.928,
    "l": 13.529
  },
  "oklch": {
    "l": 0.304,
    "c": 0.04973,
    "h": 117
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#2D3213
secondary
#3F376A
accent
#53D568
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D3213

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

Preview Lab → · Contrast checker → · Palette generator →

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