#303C0D#303C0D

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

Color values

HEX#303C0D
RGBrgb(48, 60, 13)
HSLhsl(75, 64%, 14%)
HSVhsv(75, 78%, 24%)
CMYKcmyk(20%, 0%, 78.3%, 76.5%)
CIE-LABlab(23.30, -13.03, 26.18)
CIE-LCHlch(23.30, 29.25, 116.45°)
OKLaboklab(33.43% -0.0379 0.0591)
OKLCHoklch(33.43% 0.07 122.7)
XYZxyz(2.9075, 3.8891, 0.9782)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C0D #190D3C
analogous
#3C310D #303C0D #193C0D
triadic
#303C0D #0D303C #3C0D30
tetradic
#303C0D #0D3C31 #190D3C #3C0D19
square
#303C0D #0D3C31 #190D3C #3C0D19
split-complementary
#303C0D #0D193C #310D3C
monochromatic
#141905 #141905 #303C0D #586E18 #80A123

Accessibility & contrast

On white

11.81
#303C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303C0D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C0D#FFFFFF#000000##FFFFFF
##303C0D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403806
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#333933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303c0d;
/* rgb */ color: rgb(48, 60, 13);
/* oklch */ color: oklch(33.4% 0.070 122.7);
Tailwind
colors: {
  custom: {
    50: '#6a714f',
    500: '#303c0d',
    950: '#000000',
  },
}
SCSS
$custom: #303c0d;
$custom-light: #6a714f;
$custom-dark: #000000;
JSON
{
  "hex": "#303c0d",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 75.319,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33435,
    "c": 0.07015,
    "h": 122.7
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#303C0D
secondary
#402D78
accent
#40E76B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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