#302F0A#302F0A

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

Color values

HEX#302F0A
RGBrgb(48, 47, 10)
HSLhsl(58, 66%, 11%)
HSVhsv(58, 79%, 19%)
CMYKcmyk(0%, 2.1%, 79.2%, 81.2%)
CIE-LABlab(18.73, -5.27, 22.50)
CIE-LCHlch(18.73, 23.11, 103.19°)
OKLaboklab(29.76% -0.0166 0.0517)
OKLCHoklch(29.76% 0.054 107.8)
XYZxyz(2.2903, 2.6834, 0.6844)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F0A #0A0B30
analogous
#301C0A #302F0A #1E300A
triadic
#302F0A #0A302F #2F0A30
tetradic
#302F0A #0A301C #0A0B30 #300A1E
square
#302F0A #0A301C #0A0B30 #300A1E
split-complementary
#302F0A #0A1E30 #1C0A30
monochromatic
#191905 #191905 #302F0A #636115 #95921F

Accessibility & contrast

On white

13.67
#302F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F0A
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F0A#FFFFFF#000000##FFFFFF
##302F0A1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D06
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f0a;
/* rgb */ color: rgb(48, 47, 10);
/* oklch */ color: oklch(29.8% 0.054 107.8);
Tailwind
colors: {
  custom: {
    50: '#6a674c',
    500: '#302f0a',
    950: '#000000',
  },
}
SCSS
$custom: #302f0a;
$custom-light: #6a674c;
$custom-dark: #000000;
JSON
{
  "hex": "#302f0a",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 58.421,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29757,
    "c": 0.05431,
    "h": 107.8
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#302F0A
secondary
#292A6D
accent
#44E83F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #302F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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