#303B0A#303B0A

#303B0A is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.071 H 121.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#303B0A
RGBrgb(48, 59, 10)
HSLhsl(73, 71%, 14%)
HSVhsv(73, 83%, 23%)
CMYKcmyk(18.6%, 0%, 83.1%, 76.9%)
CIE-LABlab(22.92, -12.66, 27.12)
CIE-LCHlch(22.92, 29.94, 115.03°)
OKLaboklab(33.12% -0.0372 0.0606)
OKLCHoklch(33.12% 0.071 121.5)
XYZxyz(2.8377, 3.7782, 0.8669)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B0A #150A3B
analogous
#3B2D0A #303B0A #173B0A
triadic
#303B0A #0A303B #3B0A30
tetradic
#303B0A #0A3B2D #150A3B #3B0A17
square
#303B0A #0A3B2D #150A3B #3B0A17
split-complementary
#303B0A #0A173B #2D0A3B
monochromatic
#151A04 #151A04 #303B0A #5B6F13 #85A41C

Accessibility & contrast

On white

11.96
#303B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#303B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B0A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B0A#FFFFFF#000000##FFFFFF
##303B0A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3703
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b0a;
/* rgb */ color: rgb(48, 59, 10);
/* oklch */ color: oklch(33.1% 0.071 121.5);
Tailwind
colors: {
  custom: {
    50: '#6a704d',
    500: '#303b0a',
    950: '#000000',
  },
}
SCSS
$custom: #303b0a;
$custom-light: #6a704d;
$custom-dark: #000000;
JSON
{
  "hex": "#303b0a",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 73.469,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33123,
    "c": 0.07107,
    "h": 121.5
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#303B0A
secondary
#3A2878
accent
#3AEE62
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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