#303606#303606

#303606 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.7% C 0.067 H 116.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#303606
RGBrgb(48, 54, 6)
HSLhsl(68, 80%, 12%)
HSVhsv(68, 89%, 21%)
CMYKcmyk(11.1%, 0%, 88.9%, 78.8%)
CIE-LABlab(21.13, -9.96, 26.85)
CIE-LCHlch(21.13, 28.64, 110.35°)
OKLaboklab(31.67% -0.0302 0.06)
OKLCHoklch(31.67% 0.067 116.7)
XYZxyz(2.5710, 3.2799, 0.6699)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303606 #0C0636
analogous
#362406 #303606 #183606
triadic
#303606 #063036 #360630
tetradic
#303606 #063624 #0C0636 #360618
square
#303606 #063624 #0C0636 #360618
split-complementary
#303606 #061836 #240636
monochromatic
#181C03 #181C03 #303606 #616D0C #92A412

Accessibility & contrast

On white

12.68
#303606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#303606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303606
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303606#FFFFFF#000000##FFFFFF
##3036061.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3300
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#34322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #303606;
/* rgb */ color: rgb(48, 54, 6);
/* oklch */ color: oklch(31.7% 0.067 116.7);
Tailwind
colors: {
  custom: {
    50: '#6a6c4a',
    500: '#303606',
    950: '#000000',
  },
}
SCSS
$custom: #303606;
$custom-light: #6a6c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303606",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 6
  },
  "hsl": {
    "h": 67.5,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.3167,
    "c": 0.06719,
    "h": 116.7
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#303606
secondary
#2C2176
accent
#31F64A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303606

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

Preview Lab → · Contrast checker → · Palette generator →

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