#308D24#308D24

#308D24 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.165 H 141.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308D24
RGBrgb(48, 141, 36)
HSLhsl(113, 59%, 35%)
HSVhsv(113, 74%, 55%)
CMYKcmyk(66%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.62, -47.33, 45.40)
CIE-LCHlch(51.62, 65.58, 136.19°)
OKLaboklab(56.73% -0.1292 0.1028)
OKLCHoklch(56.73% 0.165 141.5)
XYZxyz(11.0617, 19.8044, 4.9084)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D24 #81248D
analogous
#658D24 #308D24 #248D4D
triadic
#308D24 #24308D #8D2430
tetradic
#308D24 #24658D #81248D #8D4D24
square
#308D24 #24658D #81248D #8D4D24
split-complementary
#308D24 #4D248D #8D2465
monochromatic
#0F2B0B #1F5C18 #308D24 #41BE30 #66D457

Accessibility & contrast

On white

4.23
#308D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#308D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D24
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D24#FFFFFF#000000##000000
##308D241.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d24;
/* rgb */ color: rgb(48, 141, 36);
/* oklch */ color: oklch(56.7% 0.165 141.5);
Tailwind
colors: {
  custom: {
    50: '#75af66',
    500: '#308d24',
    950: '#000000',
  },
}
SCSS
$custom: #308d24;
$custom-light: #75af66;
$custom-dark: #000000;
JSON
{
  "hex": "#308d24",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 113.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.1651,
    "h": 141.5
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#308D24
secondary
#AD54B8
accent
#45E3D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D24

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

Preview Lab → · Contrast checker → · Palette generator →

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