#228032#228032

#228032 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.143 H 145.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#228032
RGBrgb(34, 128, 50)
HSLhsl(130, 58%, 32%)
HSVhsv(130, 73%, 50%)
CMYKcmyk(73.4%, 0%, 60.9%, 49.8%)
CIE-LABlab(46.98, -43.98, 34.06)
CIE-LCHlch(46.98, 55.63, 142.24°)
OKLaboklab(52.83% -0.1187 0.0805)
OKLCHoklch(52.83% 0.143 145.9)
XYZxyz(8.9540, 16.0077, 5.6349)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228032 #802270
analogous
#418022 #228032 #228061
triadic
#228032 #322280 #803222
tetradic
#228032 #224180 #802270 #806122
square
#228032 #224180 #802270 #806122
split-complementary
#228032 #612280 #802241
monochromatic
#081F0C #15501F #228032 #2FB045 #4DD063

Accessibility & contrast

On white

5.00
#228032 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#228032 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228032
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228032#FFFFFF#000000##FFFFFF
##2280321.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742A
Deuteranopia (green-blind)
#776C38
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228032;
/* rgb */ color: rgb(34, 128, 50);
/* oklch */ color: oklch(52.8% 0.143 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ca66c',
    500: '#228032',
    950: '#000000',
  },
}
SCSS
$custom: #228032;
$custom-light: #6ca66c;
$custom-dark: #000000;
JSON
{
  "hex": "#228032",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 130.213,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.14338,
    "h": 145.9
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#228032
secondary
#B24BA1
accent
#47C7E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #228032

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

Preview Lab → · Contrast checker → · Palette generator →

#228032 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva