#308F19#308F19

#308F19 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.173 H 140.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#308F19
RGBrgb(48, 143, 25)
HSLhsl(108, 70%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(66.4%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.22, -48.81, 49.76)
CIE-LCHlch(52.22, 69.70, 134.45°)
OKLaboklab(57.21% -0.1338 0.1103)
OKLCHoklch(57.21% 0.173 140.5)
XYZxyz(11.2163, 20.3424, 4.2549)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F19 #78198F
analogous
#6B8F19 #308F19 #198F3D
triadic
#308F19 #19308F #8F1930
tetradic
#308F19 #196B8F #78198F #8F3D19
square
#308F19 #196B8F #78198F #8F3D19
split-complementary
#308F19 #3D198F #8F196B
monochromatic
#0D2707 #1F5B10 #308F19 #41C322 #62DE44

Accessibility & contrast

On white

4.14
#308F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#308F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F19
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F19#FFFFFF#000000##000000
##308F191.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#208A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f19;
/* rgb */ color: rgb(48, 143, 25);
/* oklch */ color: oklch(57.2% 0.173 140.5);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#308f19',
    950: '#000000',
  },
}
SCSS
$custom: #308f19;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#308f19",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 108.305,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.17339,
    "h": 140.5
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#308F19
secondary
#A744BF
accent
#3BEDCA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308F19

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

Preview Lab → · Contrast checker → · Palette generator →

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