#305A19#305A19

#305A19 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.105 H 136.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#305A19
RGBrgb(48, 90, 25)
HSLhsl(99, 57%, 23%)
HSVhsv(99, 72%, 35%)
CMYKcmyk(46.7%, 0%, 72.2%, 64.7%)
CIE-LABlab(34.01, -27.56, 31.75)
CIE-LCHlch(34.01, 42.04, 130.97°)
OKLaboklab(42.18% -0.0764 0.0727)
OKLCHoklch(42.18% 0.105 136.5)
XYZxyz(5.0504, 8.0106, 2.1996)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A19 #43195A
analogous
#515A19 #305A19 #195A22
triadic
#305A19 #19305A #5A1930
tetradic
#305A19 #19515A #43195A #5A2219
square
#305A19 #19515A #43195A #5A2219
split-complementary
#305A19 #22195A #5A1951
monochromatic
#0D1807 #162A0C #305A19 #4A8A26 #63BA34

Accessibility & contrast

On white

8.07
#305A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#305A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A19
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A19#FFFFFF#000000##FFFFFF
##305A191.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#2E574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305a19;
/* rgb */ color: rgb(48, 90, 25);
/* oklch */ color: oklch(42.2% 0.105 136.5);
Tailwind
colors: {
  custom: {
    50: '#6c8959',
    500: '#305a19',
    950: '#000000',
  },
}
SCSS
$custom: #305a19;
$custom-light: #6c8959;
$custom-dark: #000000;
JSON
{
  "hex": "#305a19",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 98.769,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.10547,
    "h": 136.5
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#305A19
secondary
#733E90
accent
#48E0AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #305A19

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

Preview Lab → · Contrast checker → · Palette generator →

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