#303A0D#303A0D

#303A0D is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.067 H 121.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#303A0D
RGBrgb(48, 58, 13)
HSLhsl(73, 63%, 14%)
HSVhsv(73, 78%, 23%)
CMYKcmyk(17.2%, 0%, 77.6%, 77.3%)
CIE-LABlab(22.60, -11.86, 25.46)
CIE-LCHlch(22.60, 28.08, 114.97°)
OKLaboklab(32.87% -0.0346 0.0575)
OKLCHoklch(32.87% 0.067 121)
XYZxyz(2.8047, 3.6836, 0.9439)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A0D #170D3A
analogous
#3A2E0D #303A0D #1A3A0D
triadic
#303A0D #0D303A #3A0D30
tetradic
#303A0D #0D3A2E #170D3A #3A0D1A
square
#303A0D #0D3A2E #170D3A #3A0D1A
split-complementary
#303A0D #0D1A3A #2E0D3A
monochromatic
#151906 #151906 #303A0D #596C18 #839E23

Accessibility & contrast

On white

12.09
#303A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#303A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A0D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A0D#FFFFFF#000000##FFFFFF
##303A0D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3607
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a0d;
/* rgb */ color: rgb(48, 58, 13);
/* oklch */ color: oklch(32.9% 0.067 121.0);
Tailwind
colors: {
  custom: {
    50: '#6a704e',
    500: '#303a0d',
    950: '#000000',
  },
}
SCSS
$custom: #303a0d;
$custom-light: #6a704e;
$custom-dark: #000000;
JSON
{
  "hex": "#303a0d",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 73.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32867,
    "c": 0.06715,
    "h": 121
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#303A0D
secondary
#3D2D76
accent
#41E666
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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