#303A0B#303A0B

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

Color values

HEX#303A0B
RGBrgb(48, 58, 11)
HSLhsl(73, 68%, 14%)
HSVhsv(73, 81%, 23%)
CMYKcmyk(17.2%, 0%, 81%, 77.3%)
CIE-LABlab(22.58, -12.01, 26.35)
CIE-LCHlch(22.58, 28.96, 114.50°)
OKLaboklab(32.85% -0.0352 0.0591)
OKLCHoklch(32.85% 0.069 120.8)
XYZxyz(2.7924, 3.6787, 0.8795)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A0B #150B3A
analogous
#3A2C0B #303A0B #183A0B
triadic
#303A0B #0B303A #3A0B30
tetradic
#303A0B #0B3A2C #150B3A #3A0B18
square
#303A0B #0B3A2C #150B3A #3A0B18
split-complementary
#303A0B #0B183A #2C0B3A
monochromatic
#151A05 #151A05 #303A0B #5B6D15 #85A11F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303A0B#FFFFFF#000000##FFFFFF
##303A0B1.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)
#3E3605
Deuteranopia (green-blind)
#3D360F
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a0b;
/* rgb */ color: rgb(48, 58, 11);
/* oklch */ color: oklch(32.8% 0.069 120.8);
Tailwind
colors: {
  custom: {
    50: '#6a704d',
    500: '#303a0b',
    950: '#000000',
  },
}
SCSS
$custom: #303a0b;
$custom-light: #6a704d;
$custom-dark: #000000;
JSON
{
  "hex": "#303a0b",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 72.766,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.06882,
    "h": 120.8
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#303A0B
secondary
#3A2A77
accent
#3DEB62
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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