#308C24#308C24

#308C24 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.164 H 141.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C24
RGBrgb(48, 140, 36)
HSLhsl(113, 59%, 35%)
HSVhsv(113, 74%, 55%)
CMYKcmyk(65.7%, 0%, 74.3%, 45.1%)
CIE-LABlab(51.28, -46.97, 45.06)
CIE-LCHlch(51.28, 65.08, 136.19°)
OKLaboklab(56.45% -0.1282 0.1021)
OKLCHoklch(56.45% 0.164 141.5)
XYZxyz(10.9149, 19.5108, 4.8595)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C24 #80248C
analogous
#648C24 #308C24 #248C4C
triadic
#308C24 #24308C #8C2430
tetradic
#308C24 #24648C #80248C #8C4C24
square
#308C24 #24648C #80248C #8C4C24
split-complementary
#308C24 #4C248C #8C2464
monochromatic
#0F2B0B #1F5B17 #308C24 #41BD31 #65D457

Accessibility & contrast

On white

4.28
#308C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C24
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C24#FFFFFF#000000##000000
##308C241.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c24;
/* rgb */ color: rgb(48, 140, 36);
/* oklch */ color: oklch(56.5% 0.164 141.5);
Tailwind
colors: {
  custom: {
    50: '#75ae66',
    500: '#308c24',
    950: '#000000',
  },
}
SCSS
$custom: #308c24;
$custom-light: #75ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#308c24",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 113.077,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.16388,
    "h": 141.5
  },
  "luminance": 0.19512
}

Semantic roles & 50–950 ramp

primary
#308C24
secondary
#AC54B8
accent
#46E2D0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C24

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

Preview Lab → · Contrast checker → · Palette generator →

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