#303807#303807

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

Color values

HEX#303807
RGBrgb(48, 56, 7)
HSLhsl(70, 78%, 12%)
HSVhsv(70, 88%, 22%)
CMYKcmyk(14.3%, 0%, 87.5%, 78%)
CIE-LABlab(21.84, -11.09, 27.21)
CIE-LCHlch(21.84, 29.39, 112.18°)
OKLaboklab(32.25% -0.0332 0.0606)
OKLCHoklch(32.25% 0.069 118.7)
XYZxyz(2.6715, 3.4721, 0.7304)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303807 #0F0738
analogous
#382807 #303807 #183807
triadic
#303807 #073038 #380730
tetradic
#303807 #073828 #0F0738 #380718
square
#303807 #073828 #0F0738 #380718
split-complementary
#303807 #071838 #280738
monochromatic
#171B03 #171B03 #303807 #5F6E0E #8DA515

Accessibility & contrast

On white

12.39
#303807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303807
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303807#FFFFFF#000000##FFFFFF
##3038071.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#3B350B
Tritanopia (blue-blind)
#33342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303807;
/* rgb */ color: rgb(48, 56, 7);
/* oklch */ color: oklch(32.2% 0.069 118.7);
Tailwind
colors: {
  custom: {
    50: '#6a6e4b',
    500: '#303807',
    950: '#000000',
  },
}
SCSS
$custom: #303807;
$custom-light: #6a6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303807",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 69.796,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32245,
    "c": 0.06912,
    "h": 118.7
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#303807
secondary
#312378
accent
#34F453
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303807

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

Preview Lab → · Contrast checker → · Palette generator →

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