#303A0A#303A0A

#303A0A is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.070 H 120.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#303A0A
RGBrgb(48, 58, 10)
HSLhsl(73, 71%, 13%)
HSVhsv(73, 83%, 23%)
CMYKcmyk(17.2%, 0%, 82.8%, 77.3%)
CIE-LABlab(22.57, -12.08, 26.76)
CIE-LCHlch(22.57, 29.36, 114.29°)
OKLaboklab(32.84% -0.0355 0.0598)
OKLCHoklch(32.84% 0.07 120.7)
XYZxyz(2.7868, 3.6764, 0.8499)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A0A #140A3A
analogous
#3A2C0A #303A0A #183A0A
triadic
#303A0A #0A303A #3A0A30
tetradic
#303A0A #0A3A2C #140A3A #3A0A18
square
#303A0A #0A3A2C #140A3A #3A0A18
split-complementary
#303A0A #0A183A #2C0A3A
monochromatic
#161A05 #161A05 #303A0A #5B6E13 #86A21C

Accessibility & contrast

On white

12.10
#303A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303A0A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A0A#FFFFFF#000000##FFFFFF
##303A0A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3603
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#333631
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a0a;
/* rgb */ color: rgb(48, 58, 10);
/* oklch */ color: oklch(32.8% 0.070 120.7);
Tailwind
colors: {
  custom: {
    50: '#6a704d',
    500: '#303a0a',
    950: '#000000',
  },
}
SCSS
$custom: #303a0a;
$custom-light: #6a704d;
$custom-dark: #000000;
JSON
{
  "hex": "#303a0a",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 72.5,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32839,
    "c": 0.0696,
    "h": 120.7
  },
  "luminance": 0.03676
}

Semantic roles & 50–950 ramp

primary
#303A0A
secondary
#392877
accent
#3AED60
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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