#308E22#308E22

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

Color values

HEX#308E22
RGBrgb(48, 142, 34)
HSLhsl(112, 61%, 35%)
HSVhsv(112, 76%, 56%)
CMYKcmyk(66.2%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.94, -47.85, 46.47)
CIE-LCHlch(51.94, 66.70, 135.83°)
OKLaboklab(56.99% -0.1307 0.1048)
OKLCHoklch(56.99% 0.168 141.3)
XYZxyz(11.1801, 20.0888, 4.8014)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E22 #80228E
analogous
#668E22 #308E22 #228E4A
triadic
#308E22 #22308E #8E2230
tetradic
#308E22 #22668E #80228E #8E4A22
square
#308E22 #22668E #80228E #8E4A22
split-complementary
#308E22 #4A228E #8E2266
monochromatic
#0F2B0A #1F5D16 #308E22 #41BF2E #65D654

Accessibility & contrast

On white

4.18
#308E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E22#FFFFFF#000000##000000
##308E221.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308e22;
/* rgb */ color: rgb(48, 142, 34);
/* oklch */ color: oklch(57.0% 0.168 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b065',
    500: '#308e22',
    950: '#000000',
  },
}
SCSS
$custom: #308e22;
$custom-light: #76b065;
$custom-dark: #000000;
JSON
{
  "hex": "#308e22",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 112.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.16751,
    "h": 141.3
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#308E22
secondary
#AC52BA
accent
#43E4D0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E22

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

Preview Lab → · Contrast checker → · Palette generator →

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