#302F0F#302F0F

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

Color values

HEX#302F0F
RGBrgb(48, 47, 15)
HSLhsl(58, 52%, 12%)
HSVhsv(58, 69%, 19%)
CMYKcmyk(0%, 2.1%, 68.7%, 81.2%)
CIE-LABlab(18.78, -4.85, 20.23)
CIE-LCHlch(18.78, 20.80, 103.49°)
OKLaboklab(29.82% -0.0147 0.047)
OKLCHoklch(29.82% 0.049 107.4)
XYZxyz(2.3217, 2.6960, 0.8499)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F0F #0F1030
analogous
#301F0F #302F0F #21300F
triadic
#302F0F #0F302F #2F0F30
tetradic
#302F0F #0F301F #0F1030 #300F21
square
#302F0F #0F301F #0F1030 #300F21
split-complementary
#302F0F #0F2130 #1F0F30
monochromatic
#171707 #171707 #302F0F #5F5D1E #8D8A2C

Accessibility & contrast

On white

13.64
#302F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302F0F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F0F#FFFFFF#000000##FFFFFF
##302F0F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302f0f;
/* rgb */ color: rgb(48, 47, 15);
/* oklch */ color: oklch(29.8% 0.049 107.4);
Tailwind
colors: {
  custom: {
    50: '#69674e',
    500: '#302f0f',
    950: '#000000',
  },
}
SCSS
$custom: #302f0f;
$custom-light: #69674e;
$custom-dark: #000000;
JSON
{
  "hex": "#302f0f",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 58.182,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29817,
    "c": 0.04919,
    "h": 107.4
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#302F0F
secondary
#31336A
accent
#50DC4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #302F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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