#228F2C#228F2C

#228F2C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.167 H 144.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228F2C
RGBrgb(34, 143, 44)
HSLhsl(126, 62%, 35%)
HSVhsv(126, 76%, 56%)
CMYKcmyk(76.2%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.02, -50.02, 42.47)
CIE-LCHlch(52.02, 65.62, 139.66°)
OKLaboklab(56.99% -0.1353 0.0978)
OKLCHoklch(56.99% 0.167 144.1)
XYZxyz(10.9360, 20.1656, 5.6984)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F2C #8F2285
analogous
#4E8F22 #228F2C #228F63
triadic
#228F2C #2C228F #8F2C22
tetradic
#228F2C #224E8F #8F2285 #8F6322
square
#228F2C #224E8F #8F2285 #8F6322
split-complementary
#228F2C #63228F #8F224E
monochromatic
#0A2C0E #165E1D #228F2C #2EC03B #55D761

Accessibility & contrast

On white

4.17
#228F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F2C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F2C#FFFFFF#000000##000000
##228F2C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f2c;
/* rgb */ color: rgb(34, 143, 44);
/* oklch */ color: oklch(57.0% 0.167 144.1);
Tailwind
colors: {
  custom: {
    50: '#70b16a',
    500: '#228f2c',
    950: '#000000',
  },
}
SCSS
$custom: #228f2c;
$custom-light: #70b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#228f2c",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 125.505,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.16693,
    "h": 144.1
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#228F2C
secondary
#BA52B1
accent
#43D6E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #228F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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