#308719#308719

#308719 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.164 H 140.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308719
RGBrgb(48, 135, 25)
HSLhsl(107, 69%, 31%)
HSVhsv(107, 81%, 53%)
CMYKcmyk(64.4%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.53, -45.95, 47.23)
CIE-LCHlch(49.53, 65.89, 134.21°)
OKLaboklab(54.98% -0.1261 0.105)
OKLCHoklch(54.98% 0.164 140.2)
XYZxyz(10.0579, 18.0255, 3.8688)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308719 #701987
analogous
#678719 #308719 #198739
triadic
#308719 #193087 #871930
tetradic
#308719 #196787 #701987 #873919
square
#308719 #196787 #701987 #873919
split-complementary
#308719 #391987 #871967
monochromatic
#0B2006 #1E530F #308719 #42BB23 #60DB3F

Accessibility & contrast

On white

4.56
#308719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#308719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308719
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308719#FFFFFF#000000##000000
##3087191.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#238273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #308719;
/* rgb */ color: rgb(48, 135, 25);
/* oklch */ color: oklch(55.0% 0.164 140.2);
Tailwind
colors: {
  custom: {
    50: '#75ab60',
    500: '#308719',
    950: '#000000',
  },
}
SCSS
$custom: #308719;
$custom-light: #75ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#308719",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 107.455,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.16408,
    "h": 140.2
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#308719
secondary
#A141BA
accent
#3CECC7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308719

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

Preview Lab → · Contrast checker → · Palette generator →

#308719 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva