#302C09#302C09

#302C09 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.052 H 102.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#302C09
RGBrgb(48, 44, 9)
HSLhsl(54, 68%, 11%)
HSVhsv(54, 81%, 19%)
CMYKcmyk(0%, 8.3%, 81.3%, 81.2%)
CIE-LABlab(17.69, -3.39, 21.67)
CIE-LCHlch(17.69, 21.94, 98.89°)
OKLaboklab(28.93% -0.0114 0.0504)
OKLCHoklch(28.93% 0.052 102.7)
XYZxyz(2.1690, 2.4496, 0.6170)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C09 #090D30
analogous
#301809 #302C09 #203009
triadic
#302C09 #09302C #2C0930
tetradic
#302C09 #093018 #090D30 #300920
square
#302C09 #093018 #090D30 #300920
split-complementary
#302C09 #092030 #180930
monochromatic
#1A1805 #1A1805 #302C09 #645B13 #978A1C

Accessibility & contrast

On white

14.10
#302C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C09
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C09#FFFFFF#000000##FFFFFF
##302C091.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A05
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c09;
/* rgb */ color: rgb(48, 44, 9);
/* oklch */ color: oklch(28.9% 0.052 102.7);
Tailwind
colors: {
  custom: {
    50: '#6a644b',
    500: '#302c09',
    950: '#000000',
  },
}
SCSS
$custom: #302c09;
$custom-light: #6a644b;
$custom-dark: #000000;
JSON
{
  "hex": "#302c09",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 53.846,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28926,
    "c": 0.05163,
    "h": 102.7
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#302C09
secondary
#272E6E
accent
#4EEB3D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C09

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

Preview Lab → · Contrast checker → · Palette generator →

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