#308D30#308D30

#308D30 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.157 H 143.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#308D30
RGBrgb(48, 141, 48)
HSLhsl(120, 49%, 37%)
HSVhsv(120, 66%, 55%)
CMYKcmyk(66%, 0%, 66%, 44.7%)
CIE-LABlab(51.71, -46.18, 40.47)
CIE-LCHlch(51.71, 61.40, 138.77°)
OKLaboklab(56.84% -0.1254 0.0939)
OKLCHoklch(56.84% 0.157 143.2)
XYZxyz(11.2766, 19.8904, 6.0407)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D30 #8D308D
analogous
#5F8D30 #308D30 #308D5F
triadic
#308D30 #30308D #8D3030
tetradic
#308D30 #305F8D #8D308D #8D5F30
square
#308D30 #305F8D #8D308D #8D5F30
split-complementary
#308D30 #5F308D #8D305F
monochromatic
#113211 #205F20 #308D30 #40BB40 #6BCD6B

Accessibility & contrast

On white

4.22
#308D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#308D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D30
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D30#FFFFFF#000000##000000
##308D301.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#1C897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d30;
/* rgb */ color: rgb(48, 141, 48);
/* oklch */ color: oklch(56.8% 0.157 143.2);
Tailwind
colors: {
  custom: {
    50: '#75af6c',
    500: '#308d30',
    950: '#000000',
  },
}
SCSS
$custom: #308d30;
$custom-light: #75af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#308d30",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.15669,
    "h": 143.2
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#308D30
secondary
#B465B4
accent
#4FD9D9
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D30

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

Preview Lab → · Contrast checker → · Palette generator →

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