#303D0A#303D0A

#303D0A is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.074 H 123.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#303D0A
RGBrgb(48, 61, 10)
HSLhsl(75, 72%, 14%)
HSVhsv(75, 84%, 24%)
CMYKcmyk(21.3%, 0%, 83.6%, 76.1%)
CIE-LABlab(23.63, -13.82, 27.84)
CIE-LCHlch(23.63, 31.09, 116.40°)
OKLaboklab(33.69% -0.0404 0.062)
OKLCHoklch(33.69% 0.074 123.1)
XYZxyz(2.9425, 3.9878, 0.9018)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D0A #170A3D
analogous
#3D310A #303D0A #173D0A
triadic
#303D0A #0A303D #3D0A30
tetradic
#303D0A #0A3D31 #170A3D #3D0A17
square
#303D0A #0A3D31 #170A3D #3D0A17
split-complementary
#303D0A #0A173D #310A3D
monochromatic
#151A04 #151A04 #303D0A #597213 #83A61B

Accessibility & contrast

On white

11.68
#303D0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#303D0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303D0A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D0A#FFFFFF#000000##FFFFFF
##303D0A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303d0a;
/* rgb */ color: rgb(48, 61, 10);
/* oklch */ color: oklch(33.7% 0.074 123.1);
Tailwind
colors: {
  custom: {
    50: '#6a724d',
    500: '#303d0a',
    950: '#000000',
  },
}
SCSS
$custom: #303d0a;
$custom-light: #6a724d;
$custom-dark: #000000;
JSON
{
  "hex": "#303d0a",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 10
  },
  "hsl": {
    "h": 75.294,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33694,
    "c": 0.074,
    "h": 123.1
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#303D0A
secondary
#3D287A
accent
#39EF67
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303D0A

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

Preview Lab → · Contrast checker → · Palette generator →

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