#308C2B#308C2B

#308C2B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.159 H 142.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308C2B
RGBrgb(48, 140, 43)
HSLhsl(117, 53%, 36%)
HSVhsv(117, 69%, 55%)
CMYKcmyk(65.7%, 0%, 69.3%, 45.1%)
CIE-LABlab(51.33, -46.33, 42.26)
CIE-LCHlch(51.33, 62.71, 137.63°)
OKLaboklab(56.51% -0.1261 0.0971)
OKLCHoklch(56.51% 0.159 142.4)
XYZxyz(11.0324, 19.5579, 5.4787)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C2B #872B8C
analogous
#608C2B #308C2B #2B8C56
triadic
#308C2B #2B308C #8C2B30
tetradic
#308C2B #2B608C #872B8C #8C562B
square
#308C2B #2B608C #872B8C #8C562B
split-complementary
#308C2B #562B8C #8C2B60
monochromatic
#102E0E #205D1D #308C2B #40BB39 #68CF62

Accessibility & contrast

On white

4.28
#308C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#308C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C2B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C2B#FFFFFF#000000##000000
##308C2B1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c2b;
/* rgb */ color: rgb(48, 140, 43);
/* oklch */ color: oklch(56.5% 0.159 142.4);
Tailwind
colors: {
  custom: {
    50: '#75ae69',
    500: '#308c2b',
    950: '#000000',
  },
}
SCSS
$custom: #308c2b;
$custom-light: #75ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#308c2b",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 116.907,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.15916,
    "h": 142.4
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#308C2B
secondary
#B15EB5
accent
#4BDCD5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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