#303115#303115

#303115 is a dark, muted yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.045 H 110.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#303115
RGBrgb(48, 49, 21)
HSLhsl(62, 40%, 14%)
HSVhsv(62, 57%, 19%)
CMYKcmyk(2%, 0%, 57.1%, 80.8%)
CIE-LABlab(19.55, -5.50, 17.60)
CIE-LCHlch(19.55, 18.44, 107.34°)
OKLaboklab(30.46% -0.0157 0.0419)
OKLCHoklch(30.46% 0.045 110.6)
XYZxyz(2.4526, 2.8792, 1.1359)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303115 #161531
analogous
#312415 #303115 #223115
triadic
#303115 #153031 #311530
tetradic
#303115 #153124 #161531 #311522
square
#303115 #153124 #161531 #311522
split-complementary
#303115 #152231 #241531
monochromatic
#151509 #151509 #303115 #5A5C27 #84873A

Accessibility & contrast

On white

13.33
#303115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#303115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303115
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303115#FFFFFF#000000##FFFFFF
##3031151.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F13
Deuteranopia (green-blind)
#353016
Tritanopia (blue-blind)
#332E2B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #303115;
/* rgb */ color: rgb(48, 49, 21);
/* oklch */ color: oklch(30.5% 0.045 110.6);
Tailwind
colors: {
  custom: {
    50: '#696853',
    500: '#303115',
    950: '#000000',
  },
}
SCSS
$custom: #303115;
$custom-light: #696853;
$custom-dark: #000000;
JSON
{
  "hex": "#303115",
  "rgb": {
    "r": 48,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 62.143,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30458,
    "c": 0.04473,
    "h": 110.6
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#303115
secondary
#3C3A68
accent
#58D05C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #303115

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

Preview Lab → · Contrast checker → · Palette generator →

#303115 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva