#303406#303406

#303406 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.1% C 0.064 H 114.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#303406
RGBrgb(48, 52, 6)
HSLhsl(65, 79%, 11%)
HSVhsv(65, 88%, 20%)
CMYKcmyk(7.7%, 0%, 88.5%, 79.6%)
CIE-LABlab(20.43, -8.73, 26.08)
CIE-LCHlch(20.43, 27.50, 108.51°)
OKLaboklab(31.11% -0.0268 0.0587)
OKLCHoklch(31.11% 0.064 114.5)
XYZxyz(2.4799, 3.0976, 0.6395)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303406 #0A0634
analogous
#342106 #303406 #193406
triadic
#303406 #063034 #340630
tetradic
#303406 #063421 #0A0634 #340619
square
#303406 #063421 #0A0634 #340619
split-complementary
#303406 #061934 #210634
monochromatic
#191B03 #191B03 #303406 #636B0C #95A213

Accessibility & contrast

On white

12.97
#303406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#303406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303406
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303406#FFFFFF#000000##FFFFFF
##3034061.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#38320A
Tritanopia (blue-blind)
#34302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #303406;
/* rgb */ color: rgb(48, 52, 6);
/* oklch */ color: oklch(31.1% 0.064 114.5);
Tailwind
colors: {
  custom: {
    50: '#6a6b4a',
    500: '#303406',
    950: '#000000',
  },
}
SCSS
$custom: #303406;
$custom-light: #6a6b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303406",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 6
  },
  "hsl": {
    "h": 65.217,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31107,
    "c": 0.06449,
    "h": 114.5
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#303406
secondary
#292174
accent
#32F643
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303406

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

Preview Lab → · Contrast checker → · Palette generator →

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