#303608#303608

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

Color values

HEX#303608
RGBrgb(48, 54, 8)
HSLhsl(68, 74%, 12%)
HSVhsv(68, 85%, 21%)
CMYKcmyk(11.1%, 0%, 85.2%, 78.8%)
CIE-LABlab(21.15, -9.82, 26.06)
CIE-LCHlch(21.15, 27.84, 110.64°)
OKLaboklab(31.69% -0.0295 0.0585)
OKLCHoklch(31.69% 0.066 116.8)
XYZxyz(2.5820, 3.2843, 0.7276)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303608 #0E0836
analogous
#362508 #303608 #193608
triadic
#303608 #083036 #360830
tetradic
#303608 #083625 #0E0836 #360819
square
#303608 #083625 #0E0836 #360819
split-complementary
#303608 #081936 #250836
monochromatic
#181B04 #181B04 #303608 #5F6B10 #8FA118

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303608#FFFFFF#000000##FFFFFF
##3036081.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)
#3A3302
Deuteranopia (green-blind)
#3A330C
Tritanopia (blue-blind)
#34322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #303608;
/* rgb */ color: rgb(48, 54, 8);
/* oklch */ color: oklch(31.7% 0.066 116.8);
Tailwind
colors: {
  custom: {
    50: '#6a6c4b',
    500: '#303608',
    950: '#000000',
  },
}
SCSS
$custom: #303608;
$custom-light: #6a6c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303608",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 8
  },
  "hsl": {
    "h": 67.826,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31688,
    "c": 0.0655,
    "h": 116.8
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#303608
secondary
#2F2575
accent
#37F14F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303608

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

Preview Lab → · Contrast checker → · Palette generator →

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