#303B0D#303B0D

#303B0D is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.069 H 121.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#303B0D
RGBrgb(48, 59, 13)
HSLhsl(74, 64%, 14%)
HSVhsv(74, 78%, 23%)
CMYKcmyk(18.6%, 0%, 78%, 76.9%)
CIE-LABlab(22.95, -12.45, 25.82)
CIE-LCHlch(22.95, 28.67, 115.73°)
OKLaboklab(33.15% -0.0362 0.0583)
OKLCHoklch(33.15% 0.069 121.9)
XYZxyz(2.8556, 3.7854, 0.9609)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B0D #180D3B
analogous
#3B2F0D #303B0D #193B0D
triadic
#303B0D #0D303B #3B0D30
tetradic
#303B0D #0D3B2F #180D3B #3B0D19
square
#303B0D #0D3B2F #180D3B #3B0D19
split-complementary
#303B0D #0D193B #2F0D3B
monochromatic
#141906 #141906 #303B0D #596D18 #829F23

Accessibility & contrast

On white

11.95
#303B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303B0D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B0D#FFFFFF#000000##FFFFFF
##303B0D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3707
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#333832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b0d;
/* rgb */ color: rgb(48, 59, 13);
/* oklch */ color: oklch(33.2% 0.069 121.9);
Tailwind
colors: {
  custom: {
    50: '#6a704f',
    500: '#303b0d',
    950: '#000000',
  },
}
SCSS
$custom: #303b0d;
$custom-light: #6a704f;
$custom-dark: #000000;
JSON
{
  "hex": "#303b0d",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 13
  },
  "hsl": {
    "h": 74.348,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33151,
    "c": 0.06865,
    "h": 121.9
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#303B0D
secondary
#3F2D77
accent
#41E769
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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