#308F22#308F22

#308F22 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.169 H 141.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#308F22
RGBrgb(48, 143, 34)
HSLhsl(112, 62%, 35%)
HSVhsv(112, 76%, 56%)
CMYKcmyk(66.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.27, -48.21, 46.81)
CIE-LCHlch(52.27, 67.19, 135.84°)
OKLaboklab(57.27% -0.1317 0.1055)
OKLCHoklch(57.27% 0.169 141.3)
XYZxyz(11.3295, 20.3877, 4.8512)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F22 #81228F
analogous
#668F22 #308F22 #228F4B
triadic
#308F22 #22308F #8F2230
tetradic
#308F22 #22668F #81228F #8F4B22
square
#308F22 #22668F #81228F #8F4B22
split-complementary
#308F22 #4B228F #8F2266
monochromatic
#0F2C0A #1F5E16 #308F22 #41C02E #66D755

Accessibility & contrast

On white

4.14
#308F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#308F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F22#FFFFFF#000000##000000
##308F221.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810B
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f22;
/* rgb */ color: rgb(48, 143, 34);
/* oklch */ color: oklch(57.3% 0.169 141.3);
Tailwind
colors: {
  custom: {
    50: '#76b165',
    500: '#308f22',
    950: '#000000',
  },
}
SCSS
$custom: #308f22;
$custom-light: #76b165;
$custom-dark: #000000;
JSON
{
  "hex": "#308f22",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 112.294,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.1687,
    "h": 141.3
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#308F22
secondary
#AD52BA
accent
#43E5D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #308F22

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

Preview Lab → · Contrast checker → · Palette generator →

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