#308C22#308C22

#308C22 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.165 H 141.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308C22
RGBrgb(48, 140, 34)
HSLhsl(112, 61%, 34%)
HSVhsv(112, 76%, 55%)
CMYKcmyk(65.7%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.27, -47.13, 45.80)
CIE-LCHlch(51.27, 65.72, 135.82°)
OKLaboklab(56.43% -0.1288 0.1034)
OKLCHoklch(56.43% 0.165 141.2)
XYZxyz(10.8852, 19.4990, 4.7031)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C22 #7E228C
analogous
#658C22 #308C22 #228C49
triadic
#308C22 #22308C #8C2230
tetradic
#308C22 #22658C #7E228C #8C4922
square
#308C22 #22658C #7E228C #8C4922
split-complementary
#308C22 #49228C #8C2265
monochromatic
#0E2A0A #1F5B16 #308C22 #41BD2E #64D553

Accessibility & contrast

On white

4.29
#308C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C22
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C22#FFFFFF#000000##000000
##308C221.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#208778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c22;
/* rgb */ color: rgb(48, 140, 34);
/* oklch */ color: oklch(56.4% 0.165 141.2);
Tailwind
colors: {
  custom: {
    50: '#75ae65',
    500: '#308c22',
    950: '#000000',
  },
}
SCSS
$custom: #308c22;
$custom-light: #75ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#308c22",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 112.075,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.16511,
    "h": 141.2
  },
  "luminance": 0.195
}

Semantic roles & 50–950 ramp

primary
#308C22
secondary
#AB51B9
accent
#44E4CF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C22

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

Preview Lab → · Contrast checker → · Palette generator →

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