#2D3402#2D3402

#2D3402 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.069 H 117.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2D3402
RGBrgb(45, 52, 2)
HSLhsl(68, 93%, 11%)
HSVhsv(68, 96%, 20%)
CMYKcmyk(13.5%, 0%, 96.2%, 79.6%)
CIE-LABlab(20.12, -10.61, 27.28)
CIE-LCHlch(20.12, 29.27, 111.26°)
OKLaboklab(30.77% -0.0324 0.0614)
OKLCHoklch(30.77% 0.069 117.8)
XYZxyz(2.3212, 3.0183, 0.5177)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3402 #090234
analogous
#342202 #2D3402 #143402
triadic
#2D3402 #022D34 #34022D
tetradic
#2D3402 #023422 #090234 #340214
square
#2D3402 #023422 #090234 #340214
split-complementary
#2D3402 #021434 #220234
monochromatic
#1A1D01 #1A1D01 #2D3402 #606F04 #93AA07

Accessibility & contrast

On white

13.10
#2D3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3402
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3402#FFFFFF#000000##FFFFFF
##2D34021.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#383106
Tritanopia (blue-blind)
#31302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3402;
/* rgb */ color: rgb(45, 52, 2);
/* oklch */ color: oklch(30.8% 0.069 117.8);
Tailwind
colors: {
  custom: {
    50: '#686b48',
    500: '#2d3402',
    950: '#000000',
  },
}
SCSS
$custom: #2d3402;
$custom-light: #686b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3402",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 68.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30774,
    "c": 0.06944,
    "h": 117.8
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#2D3402
secondary
#271A78
accent
#29FF47
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3402

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

Preview Lab → · Contrast checker → · Palette generator →

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