#308C40#308C40

#308C40 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.142 H 146.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#308C40
RGBrgb(48, 140, 64)
HSLhsl(130, 49%, 37%)
HSVhsv(130, 66%, 55%)
CMYKcmyk(65.7%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.56, -43.74, 32.52)
CIE-LCHlch(51.56, 54.51, 143.37°)
OKLaboklab(56.77% -0.1182 0.0781)
OKLCHoklch(56.77% 0.142 146.5)
XYZxyz(11.5216, 19.7535, 8.0551)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C40 #8C307C
analogous
#4E8C30 #308C40 #308C6E
triadic
#308C40 #40308C #8C4030
tetradic
#308C40 #304E8C #8C307C #8C6E30
square
#308C40 #304E8C #8C307C #8C6E30
split-complementary
#308C40 #6E308C #8C304E
monochromatic
#113116 #205E2B #308C40 #40BA55 #6ACC7B

Accessibility & contrast

On white

4.24
#308C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#308C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C40
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C40#FFFFFF#000000##000000
##308C401.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8039
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#16897B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c40;
/* rgb */ color: rgb(48, 140, 64);
/* oklch */ color: oklch(56.8% 0.142 146.5);
Tailwind
colors: {
  custom: {
    50: '#74ae77',
    500: '#308c40',
    950: '#000000',
  },
}
SCSS
$custom: #308c40;
$custom-light: #74ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#308c40",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 130.435,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.14165,
    "h": 146.5
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#308C40
secondary
#B364A6
accent
#4FC1D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308C40

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

Preview Lab → · Contrast checker → · Palette generator →

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