#308A32#308A32

#308A32 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.151 H 143.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#308A32
RGBrgb(48, 138, 50)
HSLhsl(121, 48%, 36%)
HSVhsv(121, 65%, 54%)
CMYKcmyk(65.2%, 0%, 63.8%, 45.9%)
CIE-LABlab(50.73, -44.83, 38.45)
CIE-LCHlch(50.73, 59.06, 139.38°)
OKLaboklab(56.03% -0.1216 0.0898)
OKLCHoklch(56.03% 0.151 143.6)
XYZxyz(10.8825, 19.0345, 6.1175)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A32 #8A3088
analogous
#5B8A30 #308A32 #308A5F
triadic
#308A32 #32308A #8A3230
tetradic
#308A32 #305B8A #8A3088 #8A5F30
square
#308A32 #305B8A #8A3088 #8A5F30
split-complementary
#308A32 #5F308A #8A305B
monochromatic
#102F11 #205D22 #308A32 #40B742 #69CB6C

Accessibility & contrast

On white

4.37
#308A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#308A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A32
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A32#FFFFFF#000000##000000
##308A321.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D28
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#1C8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a32;
/* rgb */ color: rgb(48, 138, 50);
/* oklch */ color: oklch(56.0% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#74ad6d',
    500: '#308a32',
    950: '#000000',
  },
}
SCSS
$custom: #308a32;
$custom-light: #74ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#308a32",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 121.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.15123,
    "h": 143.6
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#308A32
secondary
#B264B0
accent
#50D5D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308A32

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

Preview Lab → · Contrast checker → · Palette generator →

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