#308E18#308E18

#308E18 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.173 H 140.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#308E18
RGBrgb(48, 142, 24)
HSLhsl(108, 71%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(66.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.88, -48.52, 49.73)
CIE-LCHlch(51.88, 69.48, 134.29°)
OKLaboklab(56.93% -0.133 0.1101)
OKLCHoklch(56.93% 0.173 140.4)
XYZxyz(11.0563, 20.0392, 4.1493)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E18 #76188E
analogous
#6B8E18 #308E18 #188E3B
triadic
#308E18 #18308E #8E1830
tetradic
#308E18 #186B8E #76188E #8E3B18
square
#308E18 #186B8E #76188E #8E3B18
split-complementary
#308E18 #3B188E #8E186B
monochromatic
#0D2506 #1E5A0F #308E18 #42C221 #61DF41

Accessibility & contrast

On white

4.19
#308E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#308E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E18#FFFFFF#000000##000000
##308E181.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#208979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e18;
/* rgb */ color: rgb(48, 142, 24);
/* oklch */ color: oklch(56.9% 0.173 140.4);
Tailwind
colors: {
  custom: {
    50: '#76b060',
    500: '#308e18',
    950: '#000000',
  },
}
SCSS
$custom: #308e18;
$custom-light: #76b060;
$custom-dark: #000000;
JSON
{
  "hex": "#308e18",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 107.797,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.17269,
    "h": 140.4
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#308E18
secondary
#A642C0
accent
#3AEEC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308E18

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

Preview Lab → · Contrast checker → · Palette generator →

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