#305D19#305D19

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

Color values

HEX#305D19
RGBrgb(48, 93, 25)
HSLhsl(100, 58%, 23%)
HSVhsv(100, 73%, 36%)
CMYKcmyk(48.4%, 0%, 73.1%, 63.5%)
CIE-LABlab(35.06, -28.95, 32.86)
CIE-LCHlch(35.06, 43.79, 131.38°)
OKLaboklab(43.05% -0.0802 0.075)
OKLCHoklch(43.05% 0.11 136.9)
XYZxyz(5.3086, 8.5269, 2.2857)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D19 #46195D
analogous
#525D19 #305D19 #195D24
triadic
#305D19 #19305D #5D1930
tetradic
#305D19 #19525D #46195D #5D2419
square
#305D19 #19525D #46195D #5D2419
split-complementary
#305D19 #24195D #5D1952
monochromatic
#0C1806 #172D0C #305D19 #498D26 #62BD33

Accessibility & contrast

On white

7.76
#305D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#305D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D19
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D19#FFFFFF#000000##FFFFFF
##305D191.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#2E594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305d19;
/* rgb */ color: rgb(48, 93, 25);
/* oklch */ color: oklch(43.0% 0.110 136.9);
Tailwind
colors: {
  custom: {
    50: '#6d8b5a',
    500: '#305d19',
    950: '#000000',
  },
}
SCSS
$custom: #305d19;
$custom-light: #6d8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#305d19",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 99.706,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.10981,
    "h": 136.9
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#305D19
secondary
#773F93
accent
#47E1AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305D19

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

Preview Lab → · Contrast checker → · Palette generator →

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