#302A05#302A05

#302A05 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.054 H 99.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#302A05
RGBrgb(48, 42, 5)
HSLhsl(52, 81%, 10%)
HSVhsv(52, 90%, 19%)
CMYKcmyk(0%, 12.5%, 89.6%, 81.2%)
CIE-LABlab(16.97, -2.37, 22.43)
CIE-LCHlch(16.97, 22.55, 96.03°)
OKLaboklab(28.34% -0.0092 0.0528)
OKLCHoklch(28.34% 0.054 99.9)
XYZxyz(2.0744, 2.2954, 0.4773)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A05 #050B30
analogous
#301405 #302A05 #203005
triadic
#302A05 #05302A #2A0530
tetradic
#302A05 #053014 #050B30 #300520
square
#302A05 #053014 #050B30 #300520
split-complementary
#302A05 #052030 #140530
monochromatic
#1C1803 #1C1803 #302A05 #675A0B #9F8B11

Accessibility & contrast

On white

14.39
#302A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A05
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A05#FFFFFF#000000##FFFFFF
##302A051.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2901
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#352623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a05;
/* rgb */ color: rgb(48, 42, 5);
/* oklch */ color: oklch(28.3% 0.054 99.9);
Tailwind
colors: {
  custom: {
    50: '#6a6349',
    500: '#302a05',
    950: '#000000',
  },
}
SCSS
$custom: #302a05;
$custom-light: #6a6349;
$custom-dark: #000000;
JSON
{
  "hex": "#302a05",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 51.628,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2834,
    "c": 0.05355,
    "h": 99.9
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#302A05
secondary
#1F2B72
accent
#4CF830
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #302A05

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

Preview Lab → · Contrast checker → · Palette generator →

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