#308A21#308A21

#308A21 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.163 H 141.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#308A21
RGBrgb(48, 138, 33)
HSLhsl(111, 61%, 34%)
HSVhsv(111, 76%, 54%)
CMYKcmyk(65.2%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.59, -46.48, 45.49)
CIE-LCHlch(50.59, 65.04, 135.61°)
OKLaboklab(55.87% -0.1271 0.1026)
OKLCHoklch(55.87% 0.163 141.1)
XYZxyz(10.5814, 18.9141, 4.5317)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A21 #7B218A
analogous
#648A21 #308A21 #218A46
triadic
#308A21 #21308A #8A2130
tetradic
#308A21 #21648A #7B218A #8A4621
square
#308A21 #21648A #7B218A #8A4621
split-complementary
#308A21 #46218A #8A2164
monochromatic
#0E2709 #1F5915 #308A21 #41BB2D #63D550

Accessibility & contrast

On white

4.39
#308A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#308A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A21
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A21#FFFFFF#000000##000000
##308A211.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#218676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a21;
/* rgb */ color: rgb(48, 138, 33);
/* oklch */ color: oklch(55.9% 0.163 141.1);
Tailwind
colors: {
  custom: {
    50: '#75ad64',
    500: '#308a21',
    950: '#000000',
  },
}
SCSS
$custom: #308a21;
$custom-light: #75ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#308a21",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 111.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.1633,
    "h": 141.1
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#308A21
secondary
#A94EB9
accent
#43E5CD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A21

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

Preview Lab → · Contrast checker → · Palette generator →

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