#308D2B#308D2B

#308D2B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.160 H 142.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308D2B
RGBrgb(48, 141, 43)
HSLhsl(117, 53%, 36%)
HSVhsv(117, 70%, 55%)
CMYKcmyk(66%, 0%, 69.5%, 44.7%)
CIE-LABlab(51.67, -46.70, 42.62)
CIE-LCHlch(51.67, 63.22, 137.62°)
OKLaboklab(56.79% -0.1271 0.0979)
OKLCHoklch(56.79% 0.16 142.4)
XYZxyz(11.1792, 19.8514, 5.5276)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D2B #882B8D
analogous
#618D2B #308D2B #2B8D57
triadic
#308D2B #2B308D #8D2B30
tetradic
#308D2B #2B618D #882B8D #8D572B
square
#308D2B #2B618D #882B8D #8D572B
split-complementary
#308D2B #572B8D #8D2B61
monochromatic
#102F0E #205E1D #308D2B #40BC39 #69CF63

Accessibility & contrast

On white

4.22
#308D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D2B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D2B#FFFFFF#000000##000000
##308D2B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d2b;
/* rgb */ color: rgb(48, 141, 43);
/* oklch */ color: oklch(56.8% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#75af6a',
    500: '#308d2b',
    950: '#000000',
  },
}
SCSS
$custom: #308d2b;
$custom-light: #75af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#308d2b",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 116.939,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.16041,
    "h": 142.4
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#308D2B
secondary
#B15EB6
accent
#4BDDD5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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