#303A24#303A24

#303A24 is a dark, muted yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.039 H 128.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#303A24
RGBrgb(48, 58, 36)
HSLhsl(87, 23%, 18%)
HSVhsv(87, 38%, 23%)
CMYKcmyk(17.2%, 0%, 37.9%, 77.3%)
CIE-LABlab(22.94, -8.94, 12.35)
CIE-LCHlch(22.94, 15.24, 125.89°)
OKLaboklab(33.25% -0.0243 0.0308)
OKLCHoklch(33.25% 0.039 128.2)
XYZxyz(3.0504, 3.7818, 2.2380)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A24 #2E243A
analogous
#3A3924 #303A24 #253A24
triadic
#303A24 #24303A #3A2430
tetradic
#303A24 #243A39 #2E243A #3A2425
square
#303A24 #243A39 #2E243A #3A2425
split-complementary
#303A24 #24253A #39243A
monochromatic
#10130C #11140D #303A24 #4F603B #6F8653

Accessibility & contrast

On white

11.96
#303A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303A24
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A24#FFFFFF#000000##FFFFFF
##303A241.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3723
Deuteranopia (green-blind)
#3B3725
Tritanopia (blue-blind)
#313834
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303a24;
/* rgb */ color: rgb(48, 58, 36);
/* oklch */ color: oklch(33.3% 0.039 128.2);
Tailwind
colors: {
  custom: {
    50: '#68705f',
    500: '#303a24',
    950: '#000000',
  },
}
SCSS
$custom: #303a24;
$custom-light: #68705f;
$custom-dark: #000000;
JSON
{
  "hex": "#303a24",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 36
  },
  "hsl": {
    "h": 87.273,
    "s": 23.404,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.03922,
    "h": 128.2
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#303A24
secondary
#5C4E6C
accent
#68C090
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #303A24

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

Preview Lab → · Contrast checker → · Palette generator →

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