#303C0F#303C0F

#303C0F is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.068 H 122.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#303C0F
RGBrgb(48, 60, 15)
HSLhsl(76, 60%, 15%)
HSVhsv(76, 75%, 24%)
CMYKcmyk(20%, 0%, 75%, 76.5%)
CIE-LABlab(23.32, -12.87, 25.23)
CIE-LCHlch(23.32, 28.32, 117.02°)
OKLaboklab(33.46% -0.0372 0.0574)
OKLCHoklch(33.46% 0.068 122.9)
XYZxyz(2.9210, 3.8946, 1.0497)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C0F #1B0F3C
analogous
#3C320F #303C0F #1A3C0F
triadic
#303C0F #0F303C #3C0F30
tetradic
#303C0F #0F3C32 #1B0F3C #3C0F1A
square
#303C0F #0F3C32 #1B0F3C #3C0F1A
split-complementary
#303C0F #0F1A3C #320F3C
monochromatic
#141806 #141806 #303C0F #576D1B #7E9E27

Accessibility & contrast

On white

11.80
#303C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303C0F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C0F#FFFFFF#000000##FFFFFF
##303C0F1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303c0f;
/* rgb */ color: rgb(48, 60, 15);
/* oklch */ color: oklch(33.5% 0.068 122.9);
Tailwind
colors: {
  custom: {
    50: '#6a7150',
    500: '#303c0f',
    950: '#000000',
  },
}
SCSS
$custom: #303c0f;
$custom-light: #6a7150;
$custom-dark: #000000;
JSON
{
  "hex": "#303c0f",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 76,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.06839,
    "h": 122.9
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#303C0F
secondary
#433076
accent
#45E36F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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