#302B02#302B02

#302B02 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.058 H 102.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#302B02
RGBrgb(48, 43, 2)
HSLhsl(53, 92%, 10%)
HSVhsv(53, 96%, 19%)
CMYKcmyk(0%, 10.4%, 95.8%, 81.2%)
CIE-LABlab(17.28, -3.27, 24.02)
CIE-LCHlch(17.28, 24.25, 97.74°)
OKLaboklab(28.58% -0.0123 0.0564)
OKLCHoklch(28.58% 0.058 102.3)
XYZxyz(2.0939, 2.3606, 0.4028)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B02 #020730
analogous
#301402 #302B02 #1E3002
triadic
#302B02 #02302B #2B0230
tetradic
#302B02 #023014 #020730 #30021E
square
#302B02 #023014 #020730 #30021E
split-complementary
#302B02 #021E30 #140230
monochromatic
#1D1A01 #1D1A01 #302B02 #6B6004 #A69407

Accessibility & contrast

On white

14.26
#302B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#302B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B02
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B02#FFFFFF#000000##FFFFFF
##302B021.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#322B04
Tritanopia (blue-blind)
#352723
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302b02;
/* rgb */ color: rgb(48, 43, 2);
/* oklch */ color: oklch(28.6% 0.058 102.3);
Tailwind
colors: {
  custom: {
    50: '#6a6448',
    500: '#302b02',
    950: '#000000',
  },
}
SCSS
$custom: #302b02;
$custom-light: #6a6448;
$custom-dark: #000000;
JSON
{
  "hex": "#302b02",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 53.478,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28575,
    "c": 0.05774,
    "h": 102.3
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#302B02
secondary
#192375
accent
#40FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #302B02

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

Preview Lab → · Contrast checker → · Palette generator →

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