#308A19#308A19

#308A19 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.168 H 140.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A19
RGBrgb(48, 138, 25)
HSLhsl(108, 69%, 32%)
HSVhsv(108, 82%, 54%)
CMYKcmyk(65.2%, 0%, 81.9%, 45.9%)
CIE-LABlab(50.54, -47.03, 48.18)
CIE-LCHlch(50.54, 67.33, 134.31°)
OKLaboklab(55.82% -0.129 0.107)
OKLCHoklch(55.82% 0.168 140.3)
XYZxyz(10.4824, 18.8745, 4.0102)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A19 #73198A
analogous
#688A19 #308A19 #198A3B
triadic
#308A19 #19308A #8A1930
tetradic
#308A19 #19688A #73198A #8A3B19
square
#308A19 #19688A #73198A #8A3B19
split-complementary
#308A19 #3B198A #8A1968
monochromatic
#0C2206 #1E5610 #308A19 #42BE22 #61DD41

Accessibility & contrast

On white

4.40
#308A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A19
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A19#FFFFFF#000000##000000
##308A191.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#228575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a19;
/* rgb */ color: rgb(48, 138, 25);
/* oklch */ color: oklch(55.8% 0.168 140.3);
Tailwind
colors: {
  custom: {
    50: '#75ad60',
    500: '#308a19',
    950: '#000000',
  },
}
SCSS
$custom: #308a19;
$custom-light: #75ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#308a19",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 107.788,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.1676,
    "h": 140.3
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#308A19
secondary
#A442BD
accent
#3CECC8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #308A19

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

Preview Lab → · Contrast checker → · Palette generator →

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