#302602#302602

#302602 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.053 H 93.0°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#302602
RGBrgb(48, 38, 2)
HSLhsl(47, 92%, 10%)
HSVhsv(47, 96%, 19%)
CMYKcmyk(0%, 20.8%, 95.8%, 81.2%)
CIE-LABlab(15.59, 0.09, 21.93)
CIE-LCHlch(15.59, 21.93, 89.75°)
OKLaboklab(27.24% -0.0028 0.0534)
OKLCHoklch(27.24% 0.053 93)
XYZxyz(1.9231, 2.0191, 0.3459)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302602 #020C30
analogous
#300F02 #302602 #233002
triadic
#302602 #023026 #260230
tetradic
#302602 #02300F #020C30 #300223
square
#302602 #02300F #020C30 #300223
split-complementary
#302602 #022330 #0F0230
monochromatic
#1D1701 #1D1701 #302602 #6B5504 #A68307

Accessibility & contrast

On white

14.96
#302602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#302602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302602
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302602#FFFFFF#000000##FFFFFF
##3026021.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#35221F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #302602;
/* rgb */ color: rgb(48, 38, 2);
/* oklch */ color: oklch(27.2% 0.053 93.0);
Tailwind
colors: {
  custom: {
    50: '#6a6047',
    500: '#302602',
    950: '#000000',
  },
}
SCSS
$custom: #302602;
$custom-light: #6a6047;
$custom-dark: #000000;
JSON
{
  "hex": "#302602",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 46.957,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27237,
    "c": 0.05343,
    "h": 93
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#302602
secondary
#192D75
accent
#57FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070400
muted
#7A7977

Preview Lab

Preview with #302602

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

Preview Lab → · Contrast checker → · Palette generator →

#302602 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva