#308D2A#308D2A

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

Color values

HEX#308D2A
RGBrgb(48, 141, 42)
HSLhsl(116, 54%, 36%)
HSVhsv(116, 70%, 55%)
CMYKcmyk(66%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.66, -46.79, 43.03)
CIE-LCHlch(51.66, 63.57, 137.40°)
OKLaboklab(56.78% -0.1274 0.0986)
OKLCHoklch(56.78% 0.161 142.3)
XYZxyz(11.1611, 19.8442, 5.4322)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D2A #872A8D
analogous
#618D2A #308D2A #2A8D55
triadic
#308D2A #2A308D #8D2A30
tetradic
#308D2A #2A618D #872A8D #8D552A
square
#308D2A #2A618D #872A8D #8D552A
split-complementary
#308D2A #552A8D #8D2A61
monochromatic
#102F0E #205E1C #308D2A #40BC38 #68D061

Accessibility & contrast

On white

4.23
#308D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308D2A#FFFFFF#000000##000000
##308D2A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308d2a;
/* rgb */ color: rgb(48, 141, 42);
/* oklch */ color: oklch(56.8% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#75af69',
    500: '#308d2a',
    950: '#000000',
  },
}
SCSS
$custom: #308d2a;
$custom-light: #75af69;
$custom-dark: #000000;
JSON
{
  "hex": "#308d2a",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 116.364,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.16112,
    "h": 142.3
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#308D2A
secondary
#B15DB6
accent
#4ADDD5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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