#302F0B#302F0B

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

Color values

HEX#302F0B
RGBrgb(48, 47, 11)
HSLhsl(58, 63%, 12%)
HSVhsv(58, 77%, 19%)
CMYKcmyk(0%, 2.1%, 77.1%, 81.2%)
CIE-LABlab(18.74, -5.20, 22.09)
CIE-LCHlch(18.74, 22.70, 103.24°)
OKLaboklab(29.77% -0.0162 0.0508)
OKLCHoklch(29.77% 0.053 107.7)
XYZxyz(2.2959, 2.6856, 0.7140)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F0B #0B0C30
analogous
#301D0B #302F0B #1F300B
triadic
#302F0B #0B302F #2F0B30
tetradic
#302F0B #0B301D #0B0C30 #300B1F
square
#302F0B #0B301D #0B0C30 #300B1F
split-complementary
#302F0B #0B1F30 #1D0B30
monochromatic
#191806 #191806 #302F0B #626016 #949122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302F0B#FFFFFF#000000##FFFFFF
##302F0B1.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)
#342D07
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#342B28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f0b;
/* rgb */ color: rgb(48, 47, 11);
/* oklch */ color: oklch(29.8% 0.053 107.7);
Tailwind
colors: {
  custom: {
    50: '#6a674c',
    500: '#302f0b',
    950: '#000000',
  },
}
SCSS
$custom: #302f0b;
$custom-light: #6a674c;
$custom-dark: #000000;
JSON
{
  "hex": "#302f0b",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 58.378,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29768,
    "c": 0.05337,
    "h": 107.7
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#302F0B
secondary
#2A2C6D
accent
#46E642
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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