#308B31#308B31

#308B31 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.153 H 143.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#308B31
RGBrgb(48, 139, 49)
HSLhsl(121, 49%, 37%)
HSVhsv(121, 65%, 55%)
CMYKcmyk(65.5%, 0%, 64.7%, 45.5%)
CIE-LABlab(51.05, -45.32, 39.28)
CIE-LCHlch(51.05, 59.97, 139.09°)
OKLaboklab(56.3% -0.123 0.0915)
OKLCHoklch(56.3% 0.153 143.4)
XYZxyz(11.0053, 19.3143, 6.0532)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B31 #8B308A
analogous
#5D8B30 #308B31 #308B5F
triadic
#308B31 #31308B #8B3130
tetradic
#308B31 #305D8B #8B308A #8B5F30
square
#308B31 #305D8B #8B308A #8B5F30
split-complementary
#308B31 #5F308B #8B305D
monochromatic
#113011 #205E21 #308B31 #40B841 #6ACC6B

Accessibility & contrast

On white

4.32
#308B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#308B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B31
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B31#FFFFFF#000000##000000
##308B311.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#1C8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b31;
/* rgb */ color: rgb(48, 139, 49);
/* oklch */ color: oklch(56.3% 0.153 143.4);
Tailwind
colors: {
  custom: {
    50: '#74ae6d',
    500: '#308b31',
    950: '#000000',
  },
}
SCSS
$custom: #308b31;
$custom-light: #74ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#308b31",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 120.659,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.15334,
    "h": 143.4
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#308B31
secondary
#B364B2
accent
#50D7D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308B31

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

Preview Lab → · Contrast checker → · Palette generator →

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