#303C0B#303C0B

#303C0B is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.072 H 122.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#303C0B
RGBrgb(48, 60, 11)
HSLhsl(75, 69%, 14%)
HSVhsv(75, 82%, 24%)
CMYKcmyk(20%, 0%, 81.7%, 76.5%)
CIE-LABlab(23.28, -13.18, 27.08)
CIE-LCHlch(23.28, 30.11, 115.95°)
OKLaboklab(33.42% -0.0385 0.0606)
OKLCHoklch(33.42% 0.072 122.4)
XYZxyz(2.8952, 3.8842, 0.9138)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C0B #170B3C
analogous
#3C300B #303C0B #183C0B
triadic
#303C0B #0B303C #3C0B30
tetradic
#303C0B #0B3C30 #170B3C #3C0B18
square
#303C0B #0B3C30 #170B3C #3C0B18
split-complementary
#303C0B #0B183C #300B3C
monochromatic
#151A05 #151A05 #303C0B #597014 #83A31E

Accessibility & contrast

On white

11.82
#303C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#303C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C0B
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C0B#FFFFFF#000000##FFFFFF
##303C0B1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403804
Deuteranopia (green-blind)
#3F370F
Tritanopia (blue-blind)
#333932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303c0b;
/* rgb */ color: rgb(48, 60, 11);
/* oklch */ color: oklch(33.4% 0.072 122.4);
Tailwind
colors: {
  custom: {
    50: '#6a714e',
    500: '#303c0b',
    950: '#000000',
  },
}
SCSS
$custom: #303c0b;
$custom-light: #6a714e;
$custom-dark: #000000;
JSON
{
  "hex": "#303c0b",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 74.694,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33417,
    "c": 0.07177,
    "h": 122.4
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#303C0B
secondary
#3D2A79
accent
#3CEC67
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303C0B

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

Preview Lab → · Contrast checker → · Palette generator →

#303C0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva