#302D10#302D10

#302D10 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.045 H 103.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#302D10
RGBrgb(48, 45, 16)
HSLhsl(54, 50%, 13%)
HSVhsv(54, 67%, 19%)
CMYKcmyk(0%, 6.2%, 66.7%, 81.2%)
CIE-LABlab(18.11, -3.44, 18.89)
CIE-LCHlch(18.11, 19.20, 100.33°)
OKLaboklab(29.29% -0.0105 0.0442)
OKLCHoklch(29.29% 0.045 103.4)
XYZxyz(2.2509, 2.5426, 0.8623)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D10 #101330
analogous
#301D10 #302D10 #233010
triadic
#302D10 #10302D #2D1030
tetradic
#302D10 #10301D #101330 #301023
square
#302D10 #10301D #101330 #301023
split-complementary
#302D10 #102330 #1D1030
monochromatic
#171608 #171608 #302D10 #5E581F #8C832F

Accessibility & contrast

On white

13.92
#302D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#302D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D10
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D10#FFFFFF#000000##FFFFFF
##302D101.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0D
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#342A27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d10;
/* rgb */ color: rgb(48, 45, 16);
/* oklch */ color: oklch(29.3% 0.045 103.4);
Tailwind
colors: {
  custom: {
    50: '#69654f',
    500: '#302d10',
    950: '#000000',
  },
}
SCSS
$custom: #302d10;
$custom-light: #69654f;
$custom-dark: #000000;
JSON
{
  "hex": "#302d10",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 16
  },
  "hsl": {
    "h": 54.375,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29287,
    "c": 0.04544,
    "h": 103.4
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#302D10
secondary
#333869
accent
#5BDA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302D10

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

Preview Lab → · Contrast checker → · Palette generator →

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