#308A24#308A24

#308A24 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.161 H 141.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308A24
RGBrgb(48, 138, 36)
HSLhsl(113, 59%, 34%)
HSVhsv(113, 74%, 54%)
CMYKcmyk(65.2%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.61, -46.24, 44.37)
CIE-LCHlch(50.61, 64.08, 136.18°)
OKLaboklab(55.89% -0.1262 0.1007)
OKLCHoklch(55.89% 0.161 141.4)
XYZxyz(10.6253, 18.9317, 4.7630)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A24 #7E248A
analogous
#638A24 #308A24 #248A4B
triadic
#308A24 #24308A #8A2430
tetradic
#308A24 #24638A #7E248A #8A4B24
square
#308A24 #24638A #7E248A #8A4B24
split-complementary
#308A24 #4B248A #8A2463
monochromatic
#0E290B #1F5917 #308A24 #41BB31 #64D356

Accessibility & contrast

On white

4.39
#308A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#308A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A24
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A24#FFFFFF#000000##000000
##308A241.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#208676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a24;
/* rgb */ color: rgb(48, 138, 36);
/* oklch */ color: oklch(55.9% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#75ad65',
    500: '#308a24',
    950: '#000000',
  },
}
SCSS
$custom: #308a24;
$custom-light: #75ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#308a24",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 112.941,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.16144,
    "h": 141.4
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#308A24
secondary
#AB53B7
accent
#46E2CF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A24

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

Preview Lab → · Contrast checker → · Palette generator →

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