#308D33#308D33

#308D33 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.154 H 143.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#308D33
RGBrgb(48, 141, 51)
HSLhsl(122, 49%, 37%)
HSVhsv(122, 66%, 55%)
CMYKcmyk(66%, 0%, 63.8%, 44.7%)
CIE-LABlab(51.74, -45.84, 39.12)
CIE-LCHlch(51.74, 60.27, 139.52°)
OKLaboklab(56.87% -0.1243 0.0914)
OKLCHoklch(56.87% 0.154 143.7)
XYZxyz(11.3407, 19.9160, 6.3779)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D33 #8D308A
analogous
#5C8D30 #308D33 #308D61
triadic
#308D33 #33308D #8D3330
tetradic
#308D33 #305C8D #8D308A #8D6130
square
#308D33 #305C8D #8D308A #8D6130
split-complementary
#308D33 #61308D #8D305C
monochromatic
#113212 #205F22 #308D33 #40BB44 #6BCD6E

Accessibility & contrast

On white

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

On black

4.98
#308D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D33
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D33#FFFFFF#000000##000000
##308D331.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908029
Deuteranopia (green-blind)
#84783B
Tritanopia (blue-blind)
#1B897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d33;
/* rgb */ color: rgb(48, 141, 51);
/* oklch */ color: oklch(56.9% 0.154 143.7);
Tailwind
colors: {
  custom: {
    50: '#74af6e',
    500: '#308d33',
    950: '#000000',
  },
}
SCSS
$custom: #308d33;
$custom-light: #74af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#308d33",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 121.935,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.15431,
    "h": 143.7
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#308D33
secondary
#B465B1
accent
#4FD4D9
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D33

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

Preview Lab → · Contrast checker → · Palette generator →

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