#303805#303805

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

Color values

HEX#303805
RGBrgb(48, 56, 5)
HSLhsl(69, 84%, 12%)
HSVhsv(69, 91%, 22%)
CMYKcmyk(14.3%, 0%, 91.1%, 78%)
CIE-LABlab(21.83, -11.23, 28.01)
CIE-LCHlch(21.83, 30.18, 111.85°)
OKLaboklab(32.23% -0.0338 0.0622)
OKLCHoklch(32.23% 0.071 118.6)
XYZxyz(2.6606, 3.4677, 0.6727)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303805 #0D0538
analogous
#382705 #303805 #173805
triadic
#303805 #053038 #380530
tetradic
#303805 #053827 #0D0538 #380517
square
#303805 #053827 #0D0538 #380517
split-complementary
#303805 #051738 #270538
monochromatic
#181C03 #181C03 #303805 #60700A #90A80F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303805#FFFFFF#000000##FFFFFF
##3038051.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)
#3C3409
Tritanopia (blue-blind)
#34342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303805;
/* rgb */ color: rgb(48, 56, 5);
/* oklch */ color: oklch(32.2% 0.071 118.6);
Tailwind
colors: {
  custom: {
    50: '#6a6e4a',
    500: '#303805',
    950: '#000000',
  },
}
SCSS
$custom: #303805;
$custom-light: #6a6e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303805",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 5
  },
  "hsl": {
    "h": 69.412,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32227,
    "c": 0.07078,
    "h": 118.6
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#303805
secondary
#2E2079
accent
#2EFA4E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303805

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

Preview Lab → · Contrast checker → · Palette generator →

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