#302D02#302D02

#302D02 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.060 H 105.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#302D02
RGBrgb(48, 45, 2)
HSLhsl(56, 92%, 10%)
HSVhsv(56, 96%, 19%)
CMYKcmyk(0%, 6.2%, 95.8%, 81.2%)
CIE-LABlab(17.96, -4.58, 24.85)
CIE-LCHlch(17.96, 25.27, 100.44°)
OKLaboklab(29.12% -0.0159 0.0577)
OKLCHoklch(29.12% 0.06 105.4)
XYZxyz(2.1684, 2.5096, 0.4276)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D02 #020530
analogous
#301602 #302D02 #1C3002
triadic
#302D02 #02302D #2D0230
tetradic
#302D02 #023016 #020530 #30021C
square
#302D02 #023016 #020530 #30021C
split-complementary
#302D02 #021C30 #160230
monochromatic
#1D1C01 #1D1C01 #302D02 #6B6404 #A69B07

Accessibility & contrast

On white

13.98
#302D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D02
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D02#FFFFFF#000000##FFFFFF
##302D021.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#332D04
Tritanopia (blue-blind)
#352925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d02;
/* rgb */ color: rgb(48, 45, 2);
/* oklch */ color: oklch(29.1% 0.060 105.4);
Tailwind
colors: {
  custom: {
    50: '#6a6548',
    500: '#302d02',
    950: '#000000',
  },
}
SCSS
$custom: #302d02;
$custom-light: #6a6548;
$custom-dark: #000000;
JSON
{
  "hex": "#302d02",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 56.087,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29121,
    "c": 0.05982,
    "h": 105.4
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#302D02
secondary
#191F75
accent
#37FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #302D02

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

Preview Lab → · Contrast checker → · Palette generator →

#302D02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva