#303204#303204

#303204 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.064 H 112.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#303204
RGBrgb(48, 50, 4)
HSLhsl(63, 85%, 11%)
HSVhsv(63, 92%, 20%)
CMYKcmyk(4%, 0%, 92%, 80.4%)
CIE-LABlab(19.71, -7.63, 26.08)
CIE-LCHlch(19.71, 27.18, 106.30°)
OKLaboklab(30.53% -0.024 0.059)
OKLCHoklch(30.53% 0.064 112.2)
XYZxyz(2.3815, 2.9184, 0.5527)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303204 #060432
analogous
#321D04 #303204 #193204
triadic
#303204 #043032 #320430
tetradic
#303204 #04321D #060432 #320419
square
#303204 #04321D #060432 #320419
split-complementary
#303204 #041932 #1D0432
monochromatic
#1B1C02 #1B1C02 #303204 #666B09 #9DA30D

Accessibility & contrast

On white

13.26
#303204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#303204 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303204
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303204#FFFFFF#000000##FFFFFF
##3032041.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373007
Tritanopia (blue-blind)
#342E29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #303204;
/* rgb */ color: rgb(48, 50, 4);
/* oklch */ color: oklch(30.5% 0.064 112.2);
Tailwind
colors: {
  custom: {
    50: '#6a6949',
    500: '#303204',
    950: '#000000',
  },
}
SCSS
$custom: #303204;
$custom-light: #6a6949;
$custom-dark: #000000;
JSON
{
  "hex": "#303204",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 4
  },
  "hsl": {
    "h": 62.609,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30527,
    "c": 0.06372,
    "h": 112.2
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#303204
secondary
#211D74
accent
#2CFB35
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070601
muted
#7A7A77

Preview Lab

Preview with #303204

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

Preview Lab → · Contrast checker → · Palette generator →

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