#302F0D#302F0D

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

Color values

HEX#302F0D
RGBrgb(48, 47, 13)
HSLhsl(58, 57%, 12%)
HSVhsv(58, 73%, 19%)
CMYKcmyk(0%, 2.1%, 72.9%, 81.2%)
CIE-LABlab(18.76, -5.03, 21.21)
CIE-LCHlch(18.76, 21.80, 103.34°)
OKLaboklab(29.79% -0.0155 0.049)
OKLCHoklch(29.79% 0.051 107.6)
XYZxyz(2.3082, 2.6905, 0.7784)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F0D #0D0E30
analogous
#301E0D #302F0D #20300D
triadic
#302F0D #0D302F #2F0D30
tetradic
#302F0D #0D301E #0D0E30 #300D20
square
#302F0D #0D301E #0D0E30 #300D20
split-complementary
#302F0D #0D2030 #1E0D30
monochromatic
#181807 #181807 #302F0D #605E1A #908D27

Accessibility & contrast

On white

13.65
#302F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F0D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F0D#FFFFFF#000000##FFFFFF
##302F0D1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302f0d;
/* rgb */ color: rgb(48, 47, 13);
/* oklch */ color: oklch(29.8% 0.051 107.6);
Tailwind
colors: {
  custom: {
    50: '#6a674d',
    500: '#302f0d',
    950: '#000000',
  },
}
SCSS
$custom: #302f0d;
$custom-light: #6a674d;
$custom-dark: #000000;
JSON
{
  "hex": "#302f0d",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 58.286,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29791,
    "c": 0.05136,
    "h": 107.6
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#302F0D
secondary
#2E2F6B
accent
#4CE147
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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