#303018#303018

#303018 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.039 H 108.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#303018
RGBrgb(48, 48, 24)
HSLhsl(60, 33%, 14%)
HSVhsv(60, 50%, 19%)
CMYKcmyk(0%, 0%, 50%, 81.2%)
CIE-LABlab(19.26, -4.46, 15.35)
CIE-LCHlch(19.26, 15.98, 106.22°)
OKLaboklab(30.24% -0.0124 0.0371)
OKLCHoklch(30.24% 0.039 108.5)
XYZxyz(2.4408, 2.8083, 1.2775)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303018 #181830
analogous
#302418 #303018 #243018
triadic
#303018 #183030 #301830
tetradic
#303018 #183024 #181830 #301824
square
#303018 #183024 #181830 #301824
split-complementary
#303018 #182430 #241830
monochromatic
#14140A #14140A #303018 #59592C #828241

Accessibility & contrast

On white

13.45
#303018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#303018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303018
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303018#FFFFFF#000000##FFFFFF
##3030181.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E16
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#332D2A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #303018;
/* rgb */ color: rgb(48, 48, 24);
/* oklch */ color: oklch(30.2% 0.039 108.5);
Tailwind
colors: {
  custom: {
    50: '#696855',
    500: '#303018',
    950: '#000000',
  },
}
SCSS
$custom: #303018;
$custom-light: #696855;
$custom-dark: #000000;
JSON
{
  "hex": "#303018",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 33.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3024,
    "c": 0.03916,
    "h": 108.5
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#303018
secondary
#3F3F65
accent
#5EC95E
background
#F6F6F4
surface
#EBEBE8
border
#C6C6C4
text
#060603
muted
#7A7A78

Preview Lab

Preview with #303018

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

Preview Lab → · Contrast checker → · Palette generator →

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