#303401#303401

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

Color values

HEX#303401
RGBrgb(48, 52, 1)
HSLhsl(65, 96%, 10%)
HSVhsv(65, 98%, 20%)
CMYKcmyk(7.7%, 0%, 98.1%, 79.6%)
CIE-LABlab(20.39, -9.09, 28.07)
CIE-LCHlch(20.39, 29.50, 107.95°)
OKLaboklab(31.06% -0.0285 0.0629)
OKLCHoklch(31.06% 0.069 114.4)
XYZxyz(2.4525, 3.0866, 0.4953)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303401 #050134
analogous
#341E01 #303401 #163401
triadic
#303401 #013034 #340130
tetradic
#303401 #01341E #050134 #340116
square
#303401 #01341E #050134 #340116
split-complementary
#303401 #011634 #1E0134
monochromatic
#1C1E01 #1C1E01 #303401 #677002 #9FAC03

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303401#FFFFFF#000000##FFFFFF
##3034011.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)
#393205
Tritanopia (blue-blind)
#34302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303401;
/* rgb */ color: rgb(48, 52, 1);
/* oklch */ color: oklch(31.1% 0.069 114.4);
Tailwind
colors: {
  custom: {
    50: '#6a6b48',
    500: '#303401',
    950: '#000000',
  },
}
SCSS
$custom: #303401;
$custom-light: #6a6b48;
$custom-dark: #000000;
JSON
{
  "hex": "#303401",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 1
  },
  "hsl": {
    "h": 64.706,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.31058,
    "c": 0.06906,
    "h": 114.4
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#303401
secondary
#1F1879
accent
#29FF3A
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070600
muted
#7A7A77

Preview Lab

Preview with #303401

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

Preview Lab → · Contrast checker → · Palette generator →

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