#305D15#305D15

#305D15 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.113 H 136.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#305D15
RGBrgb(48, 93, 21)
HSLhsl(98, 63%, 22%)
HSVhsv(98, 77%, 36%)
CMYKcmyk(48.4%, 0%, 77.4%, 63.5%)
CIE-LABlab(35.02, -29.29, 34.56)
CIE-LCHlch(35.02, 45.30, 130.29°)
OKLaboklab(43.01% -0.0814 0.078)
OKLCHoklch(43.01% 0.113 136.3)
XYZxyz(5.2685, 8.5109, 2.0745)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D15 #42155D
analogous
#545D15 #305D15 #155D1E
triadic
#305D15 #15305D #5D1530
tetradic
#305D15 #15545D #42155D #5D1E15
square
#305D15 #15545D #42155D #5D1E15
split-complementary
#305D15 #1E155D #5D1554
monochromatic
#0D1906 #162B0A #305D15 #4A8F20 #64C12C

Accessibility & contrast

On white

7.77
#305D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#305D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D15
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D15#FFFFFF#000000##FFFFFF
##305D151.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605508
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#2E594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305d15;
/* rgb */ color: rgb(48, 93, 21);
/* oklch */ color: oklch(43.0% 0.113 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8b58',
    500: '#305d15',
    950: '#000000',
  },
}
SCSS
$custom: #305d15;
$custom-light: #6d8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#305d15",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 97.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43008,
    "c": 0.11274,
    "h": 136.3
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#305D15
secondary
#723994
accent
#42E6A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305D15

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

Preview Lab → · Contrast checker → · Palette generator →

#305D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva