#308E40#308E40

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

Color values

HEX#308E40
RGBrgb(48, 142, 64)
HSLhsl(130, 49%, 37%)
HSVhsv(130, 66%, 56%)
CMYKcmyk(66.2%, 0%, 54.9%, 44.3%)
CIE-LABlab(52.22, -44.52, 33.33)
CIE-LCHlch(52.22, 55.61, 143.18°)
OKLaboklab(57.32% -0.1202 0.0799)
OKLCHoklch(57.32% 0.144 146.4)
XYZxyz(11.8165, 20.3433, 8.1534)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E40 #8E307E
analogous
#4F8E30 #308E40 #308E6F
triadic
#308E40 #40308E #8E4030
tetradic
#308E40 #304F8E #8E307E #8E6F30
square
#308E40 #304F8E #8E307E #8E6F30
split-complementary
#308E40 #6F308E #8E304F
monochromatic
#113317 #21602B #308E40 #3FBC55 #6BCD7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E40#FFFFFF#000000##000000
##308E401.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)
#908139
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#148B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308e40;
/* rgb */ color: rgb(48, 142, 64);
/* oklch */ color: oklch(57.3% 0.144 146.4);
Tailwind
colors: {
  custom: {
    50: '#74b077',
    500: '#308e40',
    950: '#000000',
  },
}
SCSS
$custom: #308e40;
$custom-light: #74b077;
$custom-dark: #000000;
JSON
{
  "hex": "#308e40",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 130.213,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.14437,
    "h": 146.4
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#308E40
secondary
#B465A7
accent
#4FC1D9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308E40

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

Preview Lab → · Contrast checker → · Palette generator →

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