#308B30#308B30

#308B30 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.154 H 143.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#308B30
RGBrgb(48, 139, 48)
HSLhsl(120, 49%, 37%)
HSVhsv(120, 65%, 55%)
CMYKcmyk(65.5%, 0%, 65.5%, 45.5%)
CIE-LABlab(51.04, -45.43, 39.72)
CIE-LCHlch(51.04, 60.35, 138.83°)
OKLaboklab(56.29% -0.1234 0.0924)
OKLCHoklch(56.29% 0.154 143.2)
XYZxyz(10.9844, 19.3059, 5.9433)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B30 #8B308B
analogous
#5E8B30 #308B30 #308B5E
triadic
#308B30 #30308B #8B3030
tetradic
#308B30 #305E8B #8B308B #8B5E30
square
#308B30 #305E8B #8B308B #8B5E30
split-complementary
#308B30 #5E308B #8B305E
monochromatic
#113011 #205E20 #308B30 #40B840 #6ACC6A

Accessibility & contrast

On white

4.32
#308B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#308B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B30
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B30#FFFFFF#000000##000000
##308B301.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#1D8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b30;
/* rgb */ color: rgb(48, 139, 48);
/* oklch */ color: oklch(56.3% 0.154 143.2);
Tailwind
colors: {
  custom: {
    50: '#74ae6c',
    500: '#308b30',
    950: '#000000',
  },
}
SCSS
$custom: #308b30;
$custom-light: #74ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#308b30",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.15413,
    "h": 143.2
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#308B30
secondary
#B364B3
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B30

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

Preview Lab → · Contrast checker → · Palette generator →

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