#228F32#228F32

#228F32 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.162 H 145.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228F32
RGBrgb(34, 143, 50)
HSLhsl(129, 62%, 35%)
HSVhsv(129, 76%, 56%)
CMYKcmyk(76.2%, 0%, 65%, 43.9%)
CIE-LABlab(52.08, -49.36, 39.87)
CIE-LCHlch(52.08, 63.45, 141.07°)
OKLaboklab(57.06% -0.1332 0.093)
OKLCHoklch(57.06% 0.162 145.1)
XYZxyz(11.0571, 20.2140, 6.3360)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F32 #8F227F
analogous
#498F22 #228F32 #228F68
triadic
#228F32 #32228F #8F3222
tetradic
#228F32 #22498F #8F227F #8F6822
square
#228F32 #22498F #8F227F #8F6822
split-complementary
#228F32 #68228F #8F2249
monochromatic
#0A2C0F #165E21 #228F32 #2EC043 #55D768

Accessibility & contrast

On white

4.16
#228F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#228F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F32
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F32#FFFFFF#000000##000000
##228F321.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#85793A
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f32;
/* rgb */ color: rgb(34, 143, 50);
/* oklch */ color: oklch(57.1% 0.162 145.1);
Tailwind
colors: {
  custom: {
    50: '#70b16e',
    500: '#228f32',
    950: '#000000',
  },
}
SCSS
$custom: #228f32;
$custom-light: #70b16e;
$custom-dark: #000000;
JSON
{
  "hex": "#228f32",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 128.807,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.16246,
    "h": 145.1
  },
  "luminance": 0.20215
}

Semantic roles & 50–950 ramp

primary
#228F32
secondary
#BA52AB
accent
#43CDE5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #228F32

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

Preview Lab → · Contrast checker → · Palette generator →

#228F32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva