#303306#303306

#303306 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.063 H 113.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#303306
RGBrgb(48, 51, 6)
HSLhsl(64, 79%, 11%)
HSVhsv(64, 88%, 20%)
CMYKcmyk(5.9%, 0%, 88.2%, 80%)
CIE-LABlab(20.08, -8.11, 25.69)
CIE-LCHlch(20.08, 26.93, 107.52°)
OKLaboklab(30.83% -0.0251 0.058)
OKLCHoklch(30.83% 0.063 113.4)
XYZxyz(2.4357, 3.0092, 0.6248)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303306 #090633
analogous
#331F06 #303306 #193306
triadic
#303306 #063033 #330630
tetradic
#303306 #06331F #090633 #330619
square
#303306 #06331F #090633 #330619
split-complementary
#303306 #061933 #1F0633
monochromatic
#1A1B03 #1A1B03 #303306 #646A0C #97A113

Accessibility & contrast

On white

13.11
#303306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#303306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303306
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303306#FFFFFF#000000##FFFFFF
##3033061.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383001
Deuteranopia (green-blind)
#383109
Tritanopia (blue-blind)
#342F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #303306;
/* rgb */ color: rgb(48, 51, 6);
/* oklch */ color: oklch(30.8% 0.063 113.4);
Tailwind
colors: {
  custom: {
    50: '#6a6a4a',
    500: '#303306',
    950: '#000000',
  },
}
SCSS
$custom: #303306;
$custom-light: #6a6a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303306",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 64,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30826,
    "c": 0.06316,
    "h": 113.4
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#303306
secondary
#272174
accent
#32F53F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303306

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

Preview Lab → · Contrast checker → · Palette generator →

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