#308A22#308A22

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

Color values

HEX#308A22
RGBrgb(48, 138, 34)
HSLhsl(112, 60%, 34%)
HSVhsv(112, 75%, 54%)
CMYKcmyk(65.2%, 0%, 75.4%, 45.9%)
CIE-LABlab(50.59, -46.40, 45.13)
CIE-LCHlch(50.59, 64.73, 135.80°)
OKLaboklab(55.88% -0.1268 0.102)
OKLCHoklch(55.88% 0.163 141.2)
XYZxyz(10.5956, 18.9198, 4.6066)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A22 #7C228A
analogous
#648A22 #308A22 #228A48
triadic
#308A22 #22308A #8A2230
tetradic
#308A22 #22648A #7C228A #8A4822
square
#308A22 #22648A #7C228A #8A4822
split-complementary
#308A22 #48228A #8A2264
monochromatic
#0E280A #1F5916 #308A22 #41BB2E #64D452

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308A22#FFFFFF#000000##000000
##308A221.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)
#8E7D0E
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#208676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #308a22;
/* rgb */ color: rgb(48, 138, 34);
/* oklch */ color: oklch(55.9% 0.163 141.2);
Tailwind
colors: {
  custom: {
    50: '#75ad64',
    500: '#308a22',
    950: '#000000',
  },
}
SCSS
$custom: #308a22;
$custom-light: #75ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#308a22",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 111.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.16269,
    "h": 141.2
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#308A22
secondary
#AA50B8
accent
#44E4CE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A22

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

Preview Lab → · Contrast checker → · Palette generator →

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