#308F24#308F24

#308F24 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.168 H 141.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#308F24
RGBrgb(48, 143, 36)
HSLhsl(113, 60%, 35%)
HSVhsv(113, 75%, 56%)
CMYKcmyk(66.4%, 0%, 74.8%, 43.9%)
CIE-LABlab(52.29, -48.05, 46.08)
CIE-LCHlch(52.29, 66.57, 136.20°)
OKLaboklab(57.28% -0.1311 0.1042)
OKLCHoklch(57.28% 0.168 141.5)
XYZxyz(11.3592, 20.3995, 5.0076)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F24 #83248F
analogous
#668F24 #308F24 #248F4D
triadic
#308F24 #24308F #8F2430
tetradic
#308F24 #24668F #83248F #8F4D24
square
#308F24 #24668F #83248F #8F4D24
split-complementary
#308F24 #4D248F #8F2466
monochromatic
#0F2D0B #205E18 #308F24 #40C030 #66D558

Accessibility & contrast

On white

4.13
#308F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#308F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F24
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F24#FFFFFF#000000##000000
##308F241.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938110
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f24;
/* rgb */ color: rgb(48, 143, 36);
/* oklch */ color: oklch(57.3% 0.168 141.5);
Tailwind
colors: {
  custom: {
    50: '#76b166',
    500: '#308f24',
    950: '#000000',
  },
}
SCSS
$custom: #308f24;
$custom-light: #76b166;
$custom-dark: #000000;
JSON
{
  "hex": "#308f24",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 113.271,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.16751,
    "h": 141.5
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

primary
#308F24
secondary
#AE55B9
accent
#45E3D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F24

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

Preview Lab → · Contrast checker → · Palette generator →

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