#308C30#308C30

#308C30 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.155 H 143.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#308C30
RGBrgb(48, 140, 48)
HSLhsl(120, 49%, 37%)
HSVhsv(120, 66%, 55%)
CMYKcmyk(65.7%, 0%, 65.7%, 45.1%)
CIE-LABlab(51.38, -45.81, 40.10)
CIE-LCHlch(51.38, 60.88, 138.80°)
OKLaboklab(56.56% -0.1244 0.0932)
OKLCHoklch(56.56% 0.155 143.2)
XYZxyz(11.1299, 19.5968, 5.9918)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C30 #8C308C
analogous
#5E8C30 #308C30 #308C5E
triadic
#308C30 #30308C #8C3030
tetradic
#308C30 #305E8C #8C308C #8C5E30
square
#308C30 #305E8C #8C308C #8C5E30
split-complementary
#308C30 #5E308C #8C305E
monochromatic
#113111 #205E20 #308C30 #40BA40 #6ACC6A

Accessibility & contrast

On white

4.27
#308C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#308C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C30
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C30#FFFFFF#000000##000000
##308C301.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#1C8879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c30;
/* rgb */ color: rgb(48, 140, 48);
/* oklch */ color: oklch(56.6% 0.155 143.2);
Tailwind
colors: {
  custom: {
    50: '#74ae6c',
    500: '#308c30',
    950: '#000000',
  },
}
SCSS
$custom: #308c30;
$custom-light: #74ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#308c30",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 120,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.15542,
    "h": 143.2
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#308C30
secondary
#B364B3
accent
#4FD8D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308C30

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

Preview Lab → · Contrast checker → · Palette generator →

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