#2D3302#2D3302

#2D3302 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.068 H 116.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2D3302
RGBrgb(45, 51, 2)
HSLhsl(67, 92%, 10%)
HSVhsv(67, 96%, 20%)
CMYKcmyk(11.8%, 0%, 96.1%, 80%)
CIE-LABlab(19.76, -10.01, 26.88)
CIE-LCHlch(19.76, 28.68, 110.42°)
OKLaboklab(30.49% -0.0307 0.0608)
OKLCHoklch(30.49% 0.068 116.8)
XYZxyz(2.2770, 2.9300, 0.5030)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3302 #080233
analogous
#332002 #2D3302 #143302
triadic
#2D3302 #022D33 #33022D
tetradic
#2D3302 #023320 #080233 #330214
square
#2D3302 #023320 #080233 #330214
split-complementary
#2D3302 #021433 #200233
monochromatic
#1A1D01 #1A1D01 #2D3302 #616E04 #95A907

Accessibility & contrast

On white

13.24
#2D3302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D3302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3302
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3302#FFFFFF#000000##FFFFFF
##2D33021.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#312F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d3302;
/* rgb */ color: rgb(45, 51, 2);
/* oklch */ color: oklch(30.5% 0.068 116.8);
Tailwind
colors: {
  custom: {
    50: '#686a48',
    500: '#2d3302',
    950: '#000000',
  },
}
SCSS
$custom: #2d3302;
$custom-light: #686a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3302",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 67.347,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30488,
    "c": 0.06812,
    "h": 116.8
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#2D3302
secondary
#251A77
accent
#29FF43
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D3302

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

Preview Lab → · Contrast checker → · Palette generator →

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