#302F0C#302F0C

#302F0C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.052 H 107.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#302F0C
RGBrgb(48, 47, 12)
HSLhsl(58, 60%, 12%)
HSVhsv(58, 75%, 19%)
CMYKcmyk(0%, 2.1%, 75%, 81.2%)
CIE-LABlab(18.75, -5.12, 21.66)
CIE-LCHlch(18.75, 22.26, 103.29°)
OKLaboklab(29.78% -0.0159 0.0499)
OKLCHoklch(29.78% 0.052 107.6)
XYZxyz(2.3019, 2.6880, 0.7453)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F0C #0C0D30
analogous
#301D0C #302F0C #1F300C
triadic
#302F0C #0C302F #2F0C30
tetradic
#302F0C #0C301D #0C0D30 #300C1F
square
#302F0C #0C301D #0C0D30 #300C1F
split-complementary
#302F0C #0C1F30 #1D0C30
monochromatic
#181806 #181806 #302F0C #615F18 #928F24

Accessibility & contrast

On white

13.66
#302F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F0C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F0C#FFFFFF#000000##FFFFFF
##302F0C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D08
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#342C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f0c;
/* rgb */ color: rgb(48, 47, 12);
/* oklch */ color: oklch(29.8% 0.052 107.6);
Tailwind
colors: {
  custom: {
    50: '#6a674d',
    500: '#302f0c',
    950: '#000000',
  },
}
SCSS
$custom: #302f0c;
$custom-light: #6a674d;
$custom-dark: #000000;
JSON
{
  "hex": "#302f0c",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 58.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29779,
    "c": 0.05238,
    "h": 107.6
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#302F0C
secondary
#2C2E6C
accent
#49E345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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