#305F19#305F19

#305F19 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.113 H 137.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#305F19
RGBrgb(48, 95, 25)
HSLhsl(100, 58%, 24%)
HSVhsv(100, 74%, 37%)
CMYKcmyk(49.5%, 0%, 73.7%, 62.7%)
CIE-LABlab(35.76, -29.86, 33.59)
CIE-LCHlch(35.76, 44.94, 131.63°)
OKLaboklab(43.62% -0.0827 0.0765)
OKLCHoklch(43.62% 0.113 137.2)
XYZxyz(5.4864, 8.8826, 2.3449)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305F19 #48195F
analogous
#535F19 #305F19 #195F25
triadic
#305F19 #19305F #5F1930
tetradic
#305F19 #19535F #48195F #5F2519
square
#305F19 #19535F #48195F #5F2519
split-complementary
#305F19 #25195F #5F1953
monochromatic
#0C1806 #182F0C #305F19 #488F26 #61C032

Accessibility & contrast

On white

7.56
#305F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#305F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305F19
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305F19#FFFFFF#000000##FFFFFF
##305F191.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62570F
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#2D5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #305f19;
/* rgb */ color: rgb(48, 95, 25);
/* oklch */ color: oklch(43.6% 0.113 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d8d5a',
    500: '#305f19',
    950: '#000000',
  },
}
SCSS
$custom: #305f19;
$custom-light: #6d8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#305f19",
  "rgb": {
    "r": 48,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 100.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.11266,
    "h": 137.2
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#305F19
secondary
#793F95
accent
#46E2AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #305F19

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

Preview Lab → · Contrast checker → · Palette generator →

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