#302F05#302F05

#302F05 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.059 H 108.1°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#302F05
RGBrgb(48, 47, 5)
HSLhsl(59, 81%, 10%)
HSVhsv(59, 90%, 19%)
CMYKcmyk(0%, 2.1%, 89.6%, 81.2%)
CIE-LABlab(18.68, -5.65, 24.48)
CIE-LCHlch(18.68, 25.12, 102.99°)
OKLaboklab(29.7% -0.0184 0.0561)
OKLCHoklch(29.7% 0.059 108.1)
XYZxyz(2.2629, 2.6724, 0.5402)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F05 #050630
analogous
#301905 #302F05 #1B3005
triadic
#302F05 #05302F #2F0530
tetradic
#302F05 #053019 #050630 #30051B
square
#302F05 #053019 #050630 #30051B
split-complementary
#302F05 #051B30 #190530
monochromatic
#1C1B03 #1C1B03 #302F05 #67650B #9F9C11

Accessibility & contrast

On white

13.69
#302F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#302F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F05
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F05#FFFFFF#000000##FFFFFF
##302F051.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D00
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302f05;
/* rgb */ color: rgb(48, 47, 5);
/* oklch */ color: oklch(29.7% 0.059 108.1);
Tailwind
colors: {
  custom: {
    50: '#6a6749',
    500: '#302f05',
    950: '#000000',
  },
}
SCSS
$custom: #302f05;
$custom-light: #6a6749;
$custom-dark: #000000;
JSON
{
  "hex": "#302f05",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 58.605,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.05905,
    "h": 108.1
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#302F05
secondary
#1F2172
accent
#35F830
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #302F05

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

Preview Lab → · Contrast checker → · Palette generator →

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