#2D3204#2D3204

#2D3204 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.065 H 115.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#2D3204
RGBrgb(45, 50, 4)
HSLhsl(67, 85%, 11%)
HSVhsv(67, 92%, 20%)
CMYKcmyk(10%, 0%, 92%, 80.4%)
CIE-LABlab(19.42, -9.24, 25.68)
CIE-LCHlch(19.42, 27.29, 109.78°)
OKLaboklab(30.22% -0.0283 0.0584)
OKLCHoklch(30.22% 0.065 115.9)
XYZxyz(2.2448, 2.8479, 0.5463)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3204 #090432
analogous
#322004 #2D3204 #163204
triadic
#2D3204 #042D32 #32042D
tetradic
#2D3204 #043220 #090432 #320416
square
#2D3204 #043220 #090432 #320416
split-complementary
#2D3204 #041632 #200432
monochromatic
#191C02 #191C02 #2D3204 #606B09 #93A30D

Accessibility & contrast

On white

13.38
#2D3204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D3204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3204
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3204#FFFFFF#000000##FFFFFF
##2D32041.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#362F07
Tritanopia (blue-blind)
#312E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d3204;
/* rgb */ color: rgb(45, 50, 4);
/* oklch */ color: oklch(30.2% 0.065 115.9);
Tailwind
colors: {
  custom: {
    50: '#686949',
    500: '#2d3204',
    950: '#000000',
  },
}
SCSS
$custom: #2d3204;
$custom-light: #686949;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3204",
  "rgb": {
    "r": 45,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 66.522,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30222,
    "c": 0.06486,
    "h": 115.9
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#2D3204
secondary
#271D74
accent
#2CFB43
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3204

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

Preview Lab → · Contrast checker → · Palette generator →

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