#303706#303706

#303706 is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 32.0% C 0.069 H 117.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#303706
RGBrgb(48, 55, 6)
HSLhsl(69, 80%, 12%)
HSVhsv(69, 89%, 22%)
CMYKcmyk(12.7%, 0%, 89.1%, 78.4%)
CIE-LABlab(21.48, -10.56, 27.23)
CIE-LCHlch(21.48, 29.21, 111.20°)
OKLaboklab(31.95% -0.0319 0.0607)
OKLCHoklch(31.95% 0.069 117.7)
XYZxyz(2.6180, 3.3739, 0.6856)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303706 #0D0637
analogous
#372606 #303706 #183706
triadic
#303706 #063037 #370630
tetradic
#303706 #063726 #0D0637 #370618
square
#303706 #063726 #0D0637 #370618
split-complementary
#303706 #061837 #260637
monochromatic
#181C03 #181C03 #303706 #606E0C #90A512

Accessibility & contrast

On white

12.54
#303706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#303706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303706
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303706#FFFFFF#000000##FFFFFF
##3037061.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#34332E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303706;
/* rgb */ color: rgb(48, 55, 6);
/* oklch */ color: oklch(32.0% 0.069 117.7);
Tailwind
colors: {
  custom: {
    50: '#6a6d4b',
    500: '#303706',
    950: '#000000',
  },
}
SCSS
$custom: #303706;
$custom-light: #6a6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303706",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 68.571,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31952,
    "c": 0.06856,
    "h": 117.7
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#303706
secondary
#2E2177
accent
#31F74D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303706

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

Preview Lab → · Contrast checker → · Palette generator →

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