#308D38#308D38

#308D38 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.150 H 144.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#308D38
RGBrgb(48, 141, 56)
HSLhsl(125, 49%, 37%)
HSVhsv(125, 66%, 55%)
CMYKcmyk(66%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.79, -45.23, 36.81)
CIE-LCHlch(51.79, 58.31, 140.86°)
OKLaboklab(56.93% -0.1225 0.0869)
OKLCHoklch(56.93% 0.15 144.6)
XYZxyz(11.4569, 19.9625, 6.9900)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D38 #8D3085
analogous
#578D30 #308D38 #308D66
triadic
#308D38 #38308D #8D3830
tetradic
#308D38 #30578D #8D3085 #8D6630
square
#308D38 #30578D #8D3085 #8D6630
split-complementary
#308D38 #66308D #8D3057
monochromatic
#113214 #205F26 #308D38 #40BB4A #6BCD73

Accessibility & contrast

On white

4.21
#308D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#308D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D38
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D38#FFFFFF#000000##000000
##308D381.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#19897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d38;
/* rgb */ color: rgb(48, 141, 56);
/* oklch */ color: oklch(56.9% 0.150 144.6);
Tailwind
colors: {
  custom: {
    50: '#74af71',
    500: '#308d38',
    950: '#000000',
  },
}
SCSS
$custom: #308d38;
$custom-light: #74af71;
$custom-dark: #000000;
JSON
{
  "hex": "#308d38",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 125.161,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.15015,
    "h": 144.6
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#308D38
secondary
#B465AD
accent
#4FCDD9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308D38

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

Preview Lab → · Contrast checker → · Palette generator →

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