#302A06#302A06

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

Color values

HEX#302A06
RGBrgb(48, 42, 6)
HSLhsl(51, 78%, 11%)
HSVhsv(51, 88%, 19%)
CMYKcmyk(0%, 12.5%, 87.5%, 81.2%)
CIE-LABlab(16.98, -2.29, 22.03)
CIE-LCHlch(16.98, 22.15, 95.94°)
OKLaboklab(28.35% -0.0088 0.0518)
OKLCHoklch(28.35% 0.053 99.6)
XYZxyz(2.0799, 2.2976, 0.5062)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A06 #060C30
analogous
#301506 #302A06 #213006
triadic
#302A06 #06302A #2A0630
tetradic
#302A06 #063015 #060C30 #300621
square
#302A06 #063015 #060C30 #300621
split-complementary
#302A06 #062130 #150630
monochromatic
#1B1803 #1B1803 #302A06 #665A0D #9D8914

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302A06#FFFFFF#000000##FFFFFF
##302A061.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)
#2F2902
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#352623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a06;
/* rgb */ color: rgb(48, 42, 6);
/* oklch */ color: oklch(28.4% 0.053 99.6);
Tailwind
colors: {
  custom: {
    50: '#6a6349',
    500: '#302a06',
    950: '#000000',
  },
}
SCSS
$custom: #302a06;
$custom-light: #6a6349;
$custom-dark: #000000;
JSON
{
  "hex": "#302a06",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 51.429,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28351,
    "c": 0.05251,
    "h": 99.6
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#302A06
secondary
#212D71
accent
#4FF434
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302A06

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

Preview Lab → · Contrast checker → · Palette generator →

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