#303408#303408

#303408 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.063 H 114.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#303408
RGBrgb(48, 52, 8)
HSLhsl(65, 73%, 12%)
HSVhsv(65, 85%, 20%)
CMYKcmyk(7.7%, 0%, 84.6%, 79.6%)
CIE-LABlab(20.45, -8.59, 25.28)
CIE-LCHlch(20.45, 26.70, 108.76°)
OKLaboklab(31.13% -0.0261 0.057)
OKLCHoklch(31.13% 0.063 114.6)
XYZxyz(2.4908, 3.1019, 0.6972)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303408 #0C0834
analogous
#342208 #303408 #1A3408
triadic
#303408 #083034 #340830
tetradic
#303408 #083422 #0C0834 #34081A
square
#303408 #083422 #0C0834 #34081A
split-complementary
#303408 #081A34 #220834
monochromatic
#181B04 #181B04 #303408 #616910 #929E18

Accessibility & contrast

On white

12.96
#303408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#303408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303408
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303408#FFFFFF#000000##FFFFFF
##3034081.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383103
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#34302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303408;
/* rgb */ color: rgb(48, 52, 8);
/* oklch */ color: oklch(31.1% 0.063 114.6);
Tailwind
colors: {
  custom: {
    50: '#6a6b4b',
    500: '#303408',
    950: '#000000',
  },
}
SCSS
$custom: #303408;
$custom-light: #6a6b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303408",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 65.455,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31126,
    "c": 0.06273,
    "h": 114.6
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#303408
secondary
#2C2573
accent
#38F049
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303408

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

Preview Lab → · Contrast checker → · Palette generator →

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