#302F13#302F13

#302F13 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.044 H 107.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#302F13
RGBrgb(48, 47, 19)
HSLhsl(58, 43%, 13%)
HSVhsv(58, 60%, 19%)
CMYKcmyk(0%, 2.1%, 60.4%, 81.2%)
CIE-LABlab(18.84, -4.43, 17.97)
CIE-LCHlch(18.84, 18.51, 103.86°)
OKLaboklab(29.88% -0.013 0.0425)
OKLCHoklch(29.88% 0.044 107)
XYZxyz(2.3530, 2.7085, 1.0148)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F13 #131430
analogous
#302013 #302F13 #223013
triadic
#302F13 #13302F #2F1330
tetradic
#302F13 #133020 #131430 #301322
square
#302F13 #133020 #131430 #301322
split-complementary
#302F13 #132230 #201330
monochromatic
#161509 #161509 #302F13 #5C5A24 #888536

Accessibility & contrast

On white

13.62
#302F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F13
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F13#FFFFFF#000000##FFFFFF
##302F131.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D10
Deuteranopia (green-blind)
#342E14
Tritanopia (blue-blind)
#342C29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f13;
/* rgb */ color: rgb(48, 47, 19);
/* oklch */ color: oklch(29.9% 0.044 107.0);
Tailwind
colors: {
  custom: {
    50: '#696751',
    500: '#302f13',
    950: '#000000',
  },
}
SCSS
$custom: #302f13;
$custom-light: #696751;
$custom-dark: #000000;
JSON
{
  "hex": "#302f13",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 57.931,
    "s": 43.284,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29878,
    "c": 0.0444,
    "h": 107
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#302F13
secondary
#373967
accent
#59D355
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #302F13

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

Preview Lab → · Contrast checker → · Palette generator →

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