#308B24#308B24

#308B24 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.163 H 141.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308B24
RGBrgb(48, 139, 36)
HSLhsl(113, 59%, 34%)
HSVhsv(113, 74%, 55%)
CMYKcmyk(65.5%, 0%, 74.1%, 45.5%)
CIE-LABlab(50.94, -46.60, 44.71)
CIE-LCHlch(50.94, 64.58, 136.18°)
OKLaboklab(56.17% -0.1272 0.1014)
OKLCHoklch(56.17% 0.163 141.5)
XYZxyz(10.7694, 19.2199, 4.8110)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B24 #7F248B
analogous
#648B24 #308B24 #248B4C
triadic
#308B24 #24308B #8B2430
tetradic
#308B24 #24648B #7F248B #8B4C24
square
#308B24 #24648B #7F248B #8B4C24
split-complementary
#308B24 #4C248B #8B2464
monochromatic
#0E2A0B #1F5A17 #308B24 #41BC31 #65D356

Accessibility & contrast

On white

4.34
#308B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#308B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B24
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B24#FFFFFF#000000##000000
##308B241.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#84762E
Tritanopia (blue-blind)
#208777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308b24;
/* rgb */ color: rgb(48, 139, 36);
/* oklch */ color: oklch(56.2% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#75ae65',
    500: '#308b24',
    950: '#000000',
  },
}
SCSS
$custom: #308b24;
$custom-light: #75ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#308b24",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 113.01,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.16267,
    "h": 141.5
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #308B24

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

Preview Lab → · Contrast checker → · Palette generator →

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