#302E09#302E09

#302E09 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.054 H 106.2°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#302E09
RGBrgb(48, 46, 9)
HSLhsl(57, 68%, 11%)
HSVhsv(57, 81%, 19%)
CMYKcmyk(0%, 4.2%, 81.3%, 81.2%)
CIE-LABlab(18.37, -4.70, 22.49)
CIE-LCHlch(18.37, 22.98, 101.80°)
OKLaboklab(29.47% -0.0151 0.0518)
OKLCHoklch(29.47% 0.054 106.2)
XYZxyz(2.2453, 2.6022, 0.6424)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E09 #090B30
analogous
#301A09 #302E09 #1E3009
triadic
#302E09 #09302E #2E0930
tetradic
#302E09 #09301A #090B30 #30091E
square
#302E09 #09301A #090B30 #30091E
split-complementary
#302E09 #091E30 #1A0930
monochromatic
#1A1905 #1A1905 #302E09 #645F13 #97911C

Accessibility & contrast

On white

13.81
#302E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#302E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E09
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E09#FFFFFF#000000##FFFFFF
##302E091.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C05
Deuteranopia (green-blind)
#342E0B
Tritanopia (blue-blind)
#342A27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e09;
/* rgb */ color: rgb(48, 46, 9);
/* oklch */ color: oklch(29.5% 0.054 106.2);
Tailwind
colors: {
  custom: {
    50: '#6a664b',
    500: '#302e09',
    950: '#000000',
  },
}
SCSS
$custom: #302e09;
$custom-light: #6a664b;
$custom-dark: #000000;
JSON
{
  "hex": "#302e09",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 56.923,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.05399,
    "h": 106.2
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#302E09
secondary
#272A6E
accent
#45EB3D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302E09

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

Preview Lab → · Contrast checker → · Palette generator →

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