#302906#302906

#302906 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.052 H 97.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#302906
RGBrgb(48, 41, 6)
HSLhsl(50, 78%, 11%)
HSVhsv(50, 88%, 19%)
CMYKcmyk(0%, 14.6%, 87.5%, 81.2%)
CIE-LABlab(16.64, -1.62, 21.61)
CIE-LCHlch(16.64, 21.67, 94.29°)
OKLaboklab(28.08% -0.0069 0.0511)
OKLCHoklch(28.08% 0.052 97.7)
XYZxyz(2.0448, 2.2275, 0.4945)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302906 #060D30
analogous
#301406 #302906 #223006
triadic
#302906 #063029 #290630
tetradic
#302906 #063014 #060D30 #300622
square
#302906 #063014 #060D30 #300622
split-complementary
#302906 #062230 #140630
monochromatic
#1B1703 #1B1703 #302906 #66570D #9D8614

Accessibility & contrast

On white

14.53
#302906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#302906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302906
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302906#FFFFFF#000000##FFFFFF
##3029061.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2802
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#352522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #302906;
/* rgb */ color: rgb(48, 41, 6);
/* oklch */ color: oklch(28.1% 0.052 97.7);
Tailwind
colors: {
  custom: {
    50: '#6a6249',
    500: '#302906',
    950: '#000000',
  },
}
SCSS
$custom: #302906;
$custom-light: #6a6249;
$custom-dark: #000000;
JSON
{
  "hex": "#302906",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 50,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28083,
    "c": 0.05154,
    "h": 97.7
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#302906
secondary
#212E71
accent
#54F434
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #302906

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

Preview Lab → · Contrast checker → · Palette generator →

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