#303705#303705

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

Color values

HEX#303705
RGBrgb(48, 55, 5)
HSLhsl(68, 83%, 12%)
HSVhsv(68, 91%, 22%)
CMYKcmyk(12.7%, 0%, 90.9%, 78.4%)
CIE-LABlab(21.47, -10.63, 27.63)
CIE-LCHlch(21.47, 29.61, 111.05°)
OKLaboklab(31.94% -0.0322 0.0615)
OKLCHoklch(31.94% 0.069 117.6)
XYZxyz(2.6126, 3.3717, 0.6567)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303705 #0C0537
analogous
#372505 #303705 #173705
triadic
#303705 #053037 #370530
tetradic
#303705 #053725 #0C0537 #370517
square
#303705 #053725 #0C0537 #370517
split-complementary
#303705 #051737 #250537
monochromatic
#181C03 #181C03 #303705 #616F0A #92A70F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303705#FFFFFF#000000##FFFFFF
##3037051.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)
#3B3300
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#34332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #303705;
/* rgb */ color: rgb(48, 55, 5);
/* oklch */ color: oklch(31.9% 0.069 117.6);
Tailwind
colors: {
  custom: {
    50: '#6a6d4a',
    500: '#303705',
    950: '#000000',
  },
}
SCSS
$custom: #303705;
$custom-light: #6a6d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#303705",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 5
  },
  "hsl": {
    "h": 68.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.06941,
    "h": 117.6
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#303705
secondary
#2C2078
accent
#2EFA4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303705

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

Preview Lab → · Contrast checker → · Palette generator →

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