#303707#303707

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

Color values

HEX#303707
RGBrgb(48, 55, 7)
HSLhsl(69, 77%, 12%)
HSVhsv(69, 87%, 22%)
CMYKcmyk(12.7%, 0%, 87.3%, 78.4%)
CIE-LABlab(21.49, -10.49, 26.84)
CIE-LCHlch(21.49, 28.81, 111.36°)
OKLaboklab(31.96% -0.0315 0.0599)
OKLCHoklch(31.96% 0.068 117.7)
XYZxyz(2.6235, 3.3761, 0.7144)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303707 #0E0737
analogous
#372607 #303707 #183707
triadic
#303707 #073037 #370730
tetradic
#303707 #073726 #0E0737 #370718
square
#303707 #073726 #0E0737 #370718
split-complementary
#303707 #071837 #260737
monochromatic
#181B03 #181B03 #303707 #5F6D0E #8FA415

Accessibility & contrast

On white

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

On black

1.68
#303707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##303707#FFFFFF#000000##FFFFFF
##3037071.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303707;
/* rgb */ color: rgb(48, 55, 7);
/* oklch */ color: oklch(32.0% 0.068 117.7);
Tailwind
colors: {
  custom: {
    50: '#6a6d4b',
    500: '#303707',
    950: '#000000',
  },
}
SCSS
$custom: #303707;
$custom-light: #6a6d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#303707",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 68.75,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31961,
    "c": 0.06773,
    "h": 117.7
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#303707
secondary
#2F2377
accent
#34F450
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303707

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

Preview Lab → · Contrast checker → · Palette generator →

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