#308C31#308C31

#308C31 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.155 H 143.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#308C31
RGBrgb(48, 140, 49)
HSLhsl(121, 49%, 37%)
HSVhsv(121, 66%, 55%)
CMYKcmyk(65.7%, 0%, 65%, 45.1%)
CIE-LABlab(51.39, -45.70, 39.65)
CIE-LCHlch(51.39, 60.50, 139.05°)
OKLaboklab(56.57% -0.124 0.0923)
OKLCHoklch(56.57% 0.155 143.3)
XYZxyz(11.1507, 19.6052, 6.1017)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C31 #8C308B
analogous
#5D8C30 #308C31 #308C5F
triadic
#308C31 #31308C #8C3130
tetradic
#308C31 #305D8C #8C308B #8C5F30
square
#308C31 #305D8C #8C308B #8C5F30
split-complementary
#308C31 #5F308C #8C305D
monochromatic
#113111 #205E21 #308C31 #40BA41 #6ACC6B

Accessibility & contrast

On white

4.27
#308C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#308C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C31
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C31#FFFFFF#000000##000000
##308C311.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#847739
Tritanopia (blue-blind)
#1C8879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c31;
/* rgb */ color: rgb(48, 140, 49);
/* oklch */ color: oklch(56.6% 0.155 143.3);
Tailwind
colors: {
  custom: {
    50: '#74ae6d',
    500: '#308c31',
    950: '#000000',
  },
}
SCSS
$custom: #308c31;
$custom-light: #74ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#308c31",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 120.652,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.15463,
    "h": 143.3
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#308C31
secondary
#B364B2
accent
#4FD7D8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308C31

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

Preview Lab → · Contrast checker → · Palette generator →

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