#305B19#305B19

#305B19 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.107 H 136.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#305B19
RGBrgb(48, 91, 25)
HSLhsl(99, 57%, 23%)
HSVhsv(99, 73%, 36%)
CMYKcmyk(47.3%, 0%, 72.5%, 64.3%)
CIE-LABlab(34.36, -28.03, 32.12)
CIE-LCHlch(34.36, 42.63, 131.11°)
OKLaboklab(42.47% -0.0777 0.0734)
OKLCHoklch(42.47% 0.107 136.6)
XYZxyz(5.1353, 8.1804, 2.2279)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B19 #44195B
analogous
#515B19 #305B19 #195B23
triadic
#305B19 #19305B #5B1930
tetradic
#305B19 #19515B #44195B #5B2319
square
#305B19 #19515B #44195B #5B2319
split-complementary
#305B19 #23195B #5B1951
monochromatic
#0D1807 #172B0C #305B19 #498B26 #63BB33

Accessibility & contrast

On white

7.97
#305B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#305B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305B19
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B19#FFFFFF#000000##FFFFFF
##305B191.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#2E584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305b19;
/* rgb */ color: rgb(48, 91, 25);
/* oklch */ color: oklch(42.5% 0.107 136.6);
Tailwind
colors: {
  custom: {
    50: '#6d8a5a',
    500: '#305b19',
    950: '#000000',
  },
}
SCSS
$custom: #305b19;
$custom-light: #6d8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#305b19",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 99.091,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.10692,
    "h": 136.6
  },
  "luminance": 0.08181
}

Semantic roles & 50–950 ramp

primary
#305B19
secondary
#743F91
accent
#48E0AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #305B19

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

Preview Lab → · Contrast checker → · Palette generator →

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