#308B3E#308B3E

#308B3E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.142 H 146.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308B3E
RGBrgb(48, 139, 62)
HSLhsl(129, 49%, 37%)
HSVhsv(129, 65%, 55%)
CMYKcmyk(65.5%, 0%, 55.4%, 45.5%)
CIE-LABlab(51.20, -43.64, 33.11)
CIE-LCHlch(51.20, 54.78, 142.82°)
OKLaboklab(56.46% -0.1179 0.0793)
OKLCHoklch(56.46% 0.142 146.1)
XYZxyz(11.3203, 19.4403, 7.7123)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B3E #8B307D
analogous
#508B30 #308B3E #308B6C
triadic
#308B3E #3E308B #8B3E30
tetradic
#308B3E #30508B #8B307D #8B6C30
square
#308B3E #30508B #8B307D #8B6C30
split-complementary
#308B3E #6C308B #8B3050
monochromatic
#113015 #205E2A #308B3E #40B852 #6ACC79

Accessibility & contrast

On white

4.30
#308B3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#308B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B3E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B3E#FFFFFF#000000##000000
##308B3E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F37
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#17887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b3e;
/* rgb */ color: rgb(48, 139, 62);
/* oklch */ color: oklch(56.5% 0.142 146.1);
Tailwind
colors: {
  custom: {
    50: '#74ae75',
    500: '#308b3e',
    950: '#000000',
  },
}
SCSS
$custom: #308b3e;
$custom-light: #74ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#308b3e",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 129.231,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.14212,
    "h": 146.1
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#308B3E
secondary
#B364A7
accent
#50C3D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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