#308F40#308F40

#308F40 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.146 H 146.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#308F40
RGBrgb(48, 143, 64)
HSLhsl(130, 50%, 37%)
HSVhsv(130, 66%, 56%)
CMYKcmyk(66.4%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.56, -44.90, 33.73)
CIE-LCHlch(52.56, 56.16, 143.09°)
OKLaboklab(57.59% -0.1213 0.0808)
OKLCHoklch(57.59% 0.146 146.3)
XYZxyz(11.9660, 20.6422, 8.2032)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F40 #8F307F
analogous
#508F30 #308F40 #308F6F
triadic
#308F40 #40308F #8F4030
tetradic
#308F40 #30508F #8F307F #8F6F30
square
#308F40 #30508F #8F307F #8F6F30
split-complementary
#308F40 #6F308F #8F3050
monochromatic
#113317 #21612B #308F40 #3FBD55 #6CCE7C

Accessibility & contrast

On white

4.09
#308F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#308F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F40
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F40#FFFFFF#000000##000000
##308F401.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#148C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f40;
/* rgb */ color: rgb(48, 143, 64);
/* oklch */ color: oklch(57.6% 0.146 146.3);
Tailwind
colors: {
  custom: {
    50: '#74b177',
    500: '#308f40',
    950: '#000000',
  },
}
SCSS
$custom: #308f40;
$custom-light: #74b177;
$custom-dark: #000000;
JSON
{
  "hex": "#308f40",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 130.105,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.14573,
    "h": 146.3
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#308F40
secondary
#B566A8
accent
#4FC2D9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #308F40

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

Preview Lab → · Contrast checker → · Palette generator →

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