#303804#303804

#303804 is a dark, moderate yellow. Relative luminance 0.035; OKLCH L 32.2% C 0.072 H 118.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#303804
RGBrgb(48, 56, 4)
HSLhsl(69, 87%, 12%)
HSVhsv(69, 93%, 22%)
CMYKcmyk(14.3%, 0%, 92.9%, 78%)
CIE-LABlab(21.82, -11.30, 28.41)
CIE-LCHlch(21.82, 30.58, 111.70°)
OKLaboklab(32.22% -0.0341 0.063)
OKLCHoklch(32.22% 0.072 118.5)
XYZxyz(2.6551, 3.4655, 0.6439)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303804 #0C0438
analogous
#382604 #303804 #163804
triadic
#303804 #043038 #380430
tetradic
#303804 #043826 #0C0438 #380416
square
#303804 #043826 #0C0438 #380416
split-complementary
#303804 #041638 #260438
monochromatic
#181D02 #181D02 #303804 #617108 #92AA0C

Accessibility & contrast

On white

12.40
#303804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#303804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303804
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303804#FFFFFF#000000##FFFFFF
##3038041.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3C3408
Tritanopia (blue-blind)
#34342E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303804;
/* rgb */ color: rgb(48, 56, 4);
/* oklch */ color: oklch(32.2% 0.072 118.5);
Tailwind
colors: {
  custom: {
    50: '#6a6e4a',
    500: '#303804',
    950: '#000000',
  },
}
SCSS
$custom: #303804;
$custom-light: #6a6e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303804",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 4
  },
  "hsl": {
    "h": 69.231,
    "s": 86.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32218,
    "c": 0.07162,
    "h": 118.5
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#303804
secondary
#2C1E7A
accent
#2BFD4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303804

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

Preview Lab → · Contrast checker → · Palette generator →

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