#308D22#308D22

#308D22 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.166 H 141.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308D22
RGBrgb(48, 141, 34)
HSLhsl(112, 61%, 34%)
HSVhsv(112, 76%, 55%)
CMYKcmyk(66%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.60, -47.49, 46.14)
CIE-LCHlch(51.60, 66.21, 135.83°)
OKLaboklab(56.71% -0.1297 0.1041)
OKLCHoklch(56.71% 0.166 141.3)
XYZxyz(11.0320, 19.7925, 4.7520)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D22 #7F228D
analogous
#668D22 #308D22 #228D4A
triadic
#308D22 #22308D #8D2230
tetradic
#308D22 #22668D #7F228D #8D4A22
square
#308D22 #22668D #7F228D #8D4A22
split-complementary
#308D22 #4A228D #8D2266
monochromatic
#0E2A0A #1F5C16 #308D22 #41BE2E #65D654

Accessibility & contrast

On white

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

On black

4.96
#308D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D22#FFFFFF#000000##000000
##308D221.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d22;
/* rgb */ color: rgb(48, 141, 34);
/* oklch */ color: oklch(56.7% 0.166 141.3);
Tailwind
colors: {
  custom: {
    50: '#75af65',
    500: '#308d22',
    950: '#000000',
  },
}
SCSS
$custom: #308d22;
$custom-light: #75af65;
$custom-dark: #000000;
JSON
{
  "hex": "#308d22",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 112.15,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.16631,
    "h": 141.3
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#308D22
secondary
#AC51B9
accent
#44E4CF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D22

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

Preview Lab → · Contrast checker → · Palette generator →

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