#308819#308819

#308819 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.165 H 140.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#308819
RGBrgb(48, 136, 25)
HSLhsl(108, 69%, 32%)
HSVhsv(108, 82%, 53%)
CMYKcmyk(64.7%, 0%, 81.6%, 46.7%)
CIE-LABlab(49.87, -46.31, 47.55)
CIE-LCHlch(49.87, 66.37, 134.25°)
OKLaboklab(55.26% -0.127 0.1057)
OKLCHoklch(55.26% 0.165 140.2)
XYZxyz(10.1981, 18.3059, 3.9155)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308819 #711988
analogous
#688819 #308819 #19883A
triadic
#308819 #193088 #881930
tetradic
#308819 #196888 #711988 #883A19
square
#308819 #196888 #711988 #883A19
split-complementary
#308819 #3A1988 #881968
monochromatic
#0C2106 #1E540F #308819 #42BC23 #60DC40

Accessibility & contrast

On white

4.51
#308819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#308819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308819
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308819#FFFFFF#000000##000000
##3088191.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#238374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308819;
/* rgb */ color: rgb(48, 136, 25);
/* oklch */ color: oklch(55.3% 0.165 140.2);
Tailwind
colors: {
  custom: {
    50: '#75ac60',
    500: '#308819',
    950: '#000000',
  },
}
SCSS
$custom: #308819;
$custom-light: #75ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#308819",
  "rgb": {
    "r": 48,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 107.568,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.16526,
    "h": 140.2
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308819

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

Preview Lab → · Contrast checker → · Palette generator →

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