#308F18#308F18

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

Color values

HEX#308F18
RGBrgb(48, 143, 24)
HSLhsl(108, 71%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(66.4%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.22, -48.87, 50.04)
CIE-LCHlch(52.22, 69.95, 134.32°)
OKLaboklab(57.2% -0.134 0.1108)
OKLCHoklch(57.2% 0.174 140.4)
XYZxyz(11.2057, 20.3381, 4.1991)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F18 #77188F
analogous
#6B8F18 #308F18 #188F3B
triadic
#308F18 #18308F #8F1830
tetradic
#308F18 #186B8F #77188F #8F3B18
square
#308F18 #186B8F #77188F #8F3B18
split-complementary
#308F18 #3B188F #8F186B
monochromatic
#0D2606 #1E5B0F #308F18 #42C321 #62DF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308F18#FFFFFF#000000##000000
##308F181.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)
#887A27
Tritanopia (blue-blind)
#208A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f18;
/* rgb */ color: rgb(48, 143, 24);
/* oklch */ color: oklch(57.2% 0.174 140.4);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#308f18',
    950: '#000000',
  },
}
SCSS
$custom: #308f18;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#308f18",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 107.899,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.17384,
    "h": 140.4
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#308F18
secondary
#A743C0
accent
#3AEECA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308F18

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

Preview Lab → · Contrast checker → · Palette generator →

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