#303403#303403

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

Color values

HEX#303403
RGBrgb(48, 52, 3)
HSLhsl(65, 89%, 11%)
HSVhsv(65, 94%, 20%)
CMYKcmyk(7.7%, 0%, 94.2%, 79.6%)
CIE-LABlab(20.40, -8.95, 27.27)
CIE-LCHlch(20.40, 28.70, 108.17°)
OKLaboklab(31.08% -0.0278 0.0612)
OKLCHoklch(31.08% 0.067 114.5)
XYZxyz(2.4634, 3.0910, 0.5530)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303403 #070334
analogous
#341F03 #303403 #173403
triadic
#303403 #033034 #340330
tetradic
#303403 #03341F #070334 #340317
square
#303403 #03341F #070334 #340317
split-complementary
#303403 #031734 #1F0334
monochromatic
#1B1D02 #1B1D02 #303403 #656E06 #9BA80A

Accessibility & contrast

On white

12.98
#303403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303403
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303403#FFFFFF#000000##FFFFFF
##3034031.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303403;
/* rgb */ color: rgb(48, 52, 3);
/* oklch */ color: oklch(31.1% 0.067 114.5);
Tailwind
colors: {
  custom: {
    50: '#6a6b49',
    500: '#303403',
    950: '#000000',
  },
}
SCSS
$custom: #303403;
$custom-light: #6a6b49;
$custom-dark: #000000;
JSON
{
  "hex": "#303403",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 3
  },
  "hsl": {
    "h": 64.898,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.31078,
    "c": 0.0672,
    "h": 114.5
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#303403
secondary
#231C77
accent
#29FF3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303403

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

Preview Lab → · Contrast checker → · Palette generator →

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