#308E21#308E21

#308E21 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.168 H 141.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#308E21
RGBrgb(48, 142, 33)
HSLhsl(112, 62%, 34%)
HSVhsv(112, 77%, 56%)
CMYKcmyk(66.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.93, -47.93, 46.83)
CIE-LCHlch(51.93, 67.01, 135.66°)
OKLaboklab(56.98% -0.131 0.1054)
OKLCHoklch(56.98% 0.168 141.2)
XYZxyz(11.1659, 20.0831, 4.7265)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E21 #7F218E
analogous
#678E21 #308E21 #218E49
triadic
#308E21 #21308E #8E2130
tetradic
#308E21 #21678E #7F218E #8E4921
square
#308E21 #21678E #7F218E #8E4921
split-complementary
#308E21 #49218E #8E2167
monochromatic
#0E2B0A #1F5C15 #308E21 #41C02D #65D752

Accessibility & contrast

On white

4.19
#308E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#308E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E21
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E21#FFFFFF#000000##000000
##308E211.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928009
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e21;
/* rgb */ color: rgb(48, 142, 33);
/* oklch */ color: oklch(57.0% 0.168 141.2);
Tailwind
colors: {
  custom: {
    50: '#76b064',
    500: '#308e21',
    950: '#000000',
  },
}
SCSS
$custom: #308e21;
$custom-light: #76b064;
$custom-dark: #000000;
JSON
{
  "hex": "#308e21",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 111.743,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56983,
    "c": 0.16809,
    "h": 141.2
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#308E21
secondary
#AC50BA
accent
#42E5CF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E21

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

Preview Lab → · Contrast checker → · Palette generator →

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