#302F14#302F14

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

Color values

HEX#302F14
RGBrgb(48, 47, 20)
HSLhsl(58, 41%, 13%)
HSVhsv(58, 58%, 19%)
CMYKcmyk(0%, 2.1%, 58.3%, 81.2%)
CIE-LABlab(18.85, -4.32, 17.37)
CIE-LCHlch(18.85, 17.90, 103.95°)
OKLaboklab(29.89% -0.0125 0.0413)
OKLCHoklch(29.89% 0.043 106.9)
XYZxyz(2.3618, 2.7120, 1.0607)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F14 #141530
analogous
#302114 #302F14 #233014
triadic
#302F14 #14302F #2F1430
tetradic
#302F14 #143021 #141530 #301423
square
#302F14 #143021 #141530 #301423
split-complementary
#302F14 #142330 #211430
monochromatic
#161509 #161509 #302F14 #5B5926 #868438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302F14#FFFFFF#000000##FFFFFF
##302F141.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)
#332D12
Deuteranopia (green-blind)
#342E15
Tritanopia (blue-blind)
#332C29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f14;
/* rgb */ color: rgb(48, 47, 20);
/* oklch */ color: oklch(29.9% 0.043 106.9);
Tailwind
colors: {
  custom: {
    50: '#696752',
    500: '#302f14',
    950: '#000000',
  },
}
SCSS
$custom: #302f14;
$custom-light: #696752;
$custom-dark: #000000;
JSON
{
  "hex": "#302f14",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 20
  },
  "hsl": {
    "h": 57.857,
    "s": 41.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.29894,
    "c": 0.04312,
    "h": 106.9
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#302F14
secondary
#393B67
accent
#5BD157
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #302F14

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

Preview Lab → · Contrast checker → · Palette generator →

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