#303704#303704

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

Color values

HEX#303704
RGBrgb(48, 55, 4)
HSLhsl(68, 86%, 12%)
HSVhsv(68, 93%, 22%)
CMYKcmyk(12.7%, 0%, 92.7%, 78.4%)
CIE-LABlab(21.47, -10.71, 28.03)
CIE-LCHlch(21.47, 30.01, 110.90°)
OKLaboklab(31.93% -0.0325 0.0623)
OKLCHoklch(31.93% 0.07 117.6)
XYZxyz(2.6071, 3.3696, 0.6279)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303704 #0B0437
analogous
#372504 #303704 #173704
triadic
#303704 #043037 #370430
tetradic
#303704 #043725 #0B0437 #370417
square
#303704 #043725 #0B0437 #370417
split-complementary
#303704 #041737 #250437
monochromatic
#191D02 #191D02 #303704 #627008 #94A90C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303704#FFFFFF#000000##FFFFFF
##3037041.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)
#3C3300
Deuteranopia (green-blind)
#3B3408
Tritanopia (blue-blind)
#34332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #303704;
/* rgb */ color: rgb(48, 55, 4);
/* oklch */ color: oklch(31.9% 0.070 117.6);
Tailwind
colors: {
  custom: {
    50: '#6a6d4a',
    500: '#303704',
    950: '#000000',
  },
}
SCSS
$custom: #303704;
$custom-light: #6a6d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303704",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 68.235,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31934,
    "c": 0.07026,
    "h": 117.6
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#303704
secondary
#2A1E79
accent
#2BFD48
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303704

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

Preview Lab → · Contrast checker → · Palette generator →

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