#303A18#303A18

#303A18 is a dark, muted yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.055 H 123.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#303A18
RGBrgb(48, 58, 24)
HSLhsl(78, 41%, 16%)
HSVhsv(78, 59%, 23%)
CMYKcmyk(17.2%, 0%, 58.6%, 77.3%)
CIE-LABlab(22.72, -10.73, 19.59)
CIE-LCHlch(22.72, 22.33, 118.72°)
OKLaboklab(33.01% -0.0302 0.0465)
OKLCHoklch(33.01% 0.055 123)
XYZxyz(2.8969, 3.7204, 1.4295)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A18 #22183A
analogous
#3A3318 #303A18 #1F3A18
triadic
#303A18 #18303A #3A1830
tetradic
#303A18 #183A33 #22183A #3A181F
square
#303A18 #183A33 #22183A #3A181F
split-complementary
#303A18 #181F3A #33183A
monochromatic
#121609 #121609 #303A18 #54652A #78913C

Accessibility & contrast

On white

12.04
#303A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303A18
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A18#FFFFFF#000000##FFFFFF
##303A181.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3715
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#323732
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a18;
/* rgb */ color: rgb(48, 58, 24);
/* oklch */ color: oklch(33.0% 0.055 123.0);
Tailwind
colors: {
  custom: {
    50: '#697056',
    500: '#303a18',
    950: '#000000',
  },
}
SCSS
$custom: #303a18;
$custom-light: #697056;
$custom-dark: #000000;
JSON
{
  "hex": "#303a18",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 24
  },
  "hsl": {
    "h": 77.647,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.05548,
    "h": 123
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#303A18
secondary
#4D3E70
accent
#57D17B
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #303A18

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

Preview Lab → · Contrast checker → · Palette generator →

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