#303806#303806

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

Color values

HEX#303806
RGBrgb(48, 56, 6)
HSLhsl(70, 81%, 12%)
HSVhsv(70, 89%, 22%)
CMYKcmyk(14.3%, 0%, 89.3%, 78%)
CIE-LABlab(21.84, -11.16, 27.61)
CIE-LCHlch(21.84, 29.78, 112.02°)
OKLaboklab(32.24% -0.0335 0.0614)
OKLCHoklch(32.24% 0.07 118.6)
XYZxyz(2.6660, 3.4699, 0.7016)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303806 #0E0638
analogous
#382706 #303806 #173806
triadic
#303806 #063038 #380630
tetradic
#303806 #063827 #0E0638 #380617
square
#303806 #063827 #0E0638 #380617
split-complementary
#303806 #061738 #270638
monochromatic
#181C03 #181C03 #303806 #5F6F0C #8FA712

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #303806;
/* rgb */ color: rgb(48, 56, 6);
/* oklch */ color: oklch(32.2% 0.070 118.6);
Tailwind
colors: {
  custom: {
    50: '#6a6e4b',
    500: '#303806',
    950: '#000000',
  },
}
SCSS
$custom: #303806;
$custom-light: #6a6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303806",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 6
  },
  "hsl": {
    "h": 69.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32236,
    "c": 0.06995,
    "h": 118.6
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#303806
secondary
#2F2178
accent
#31F750
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303806

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

Preview Lab → · Contrast checker → · Palette generator →

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