#302F10#302F10

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

Color values

HEX#302F10
RGBrgb(48, 47, 16)
HSLhsl(58, 50%, 13%)
HSVhsv(58, 67%, 19%)
CMYKcmyk(0%, 2.1%, 66.7%, 81.2%)
CIE-LABlab(18.80, -4.75, 19.70)
CIE-LCHlch(18.80, 20.26, 103.56°)
OKLaboklab(29.83% -0.0143 0.0459)
OKLCHoklch(29.83% 0.048 107.3)
XYZxyz(2.3290, 2.6989, 0.8884)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F10 #101130
analogous
#301F10 #302F10 #213010
triadic
#302F10 #10302F #2F1030
tetradic
#302F10 #10301F #101130 #301021
square
#302F10 #10301F #101130 #301021
split-complementary
#302F10 #102130 #1F1030
monochromatic
#171608 #171608 #302F10 #5E5C1F #8C892F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302F10#FFFFFF#000000##FFFFFF
##302F101.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)
#332D0D
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#342C28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302f10;
/* rgb */ color: rgb(48, 47, 16);
/* oklch */ color: oklch(29.8% 0.048 107.3);
Tailwind
colors: {
  custom: {
    50: '#69674f',
    500: '#302f10',
    950: '#000000',
  },
}
SCSS
$custom: #302f10;
$custom-light: #69674f;
$custom-dark: #000000;
JSON
{
  "hex": "#302f10",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 58.125,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29831,
    "c": 0.04805,
    "h": 107.3
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#302F10
secondary
#333469
accent
#53DA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #302F10

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

Preview Lab → · Contrast checker → · Palette generator →

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