#228D24#228D24

#228D24 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.170 H 143.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228D24
RGBrgb(34, 141, 36)
HSLhsl(121, 61%, 34%)
HSVhsv(121, 76%, 55%)
CMYKcmyk(75.9%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.29, -50.09, 44.96)
CIE-LCHlch(51.29, 67.31, 138.09°)
OKLaboklab(56.36% -0.1359 0.102)
OKLCHoklch(56.36% 0.17 143.1)
XYZxyz(10.5023, 19.5160, 4.8822)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D24 #8D228B
analogous
#568D22 #228D24 #228D59
triadic
#228D24 #24228D #8D2422
tetradic
#228D24 #22568D #8D228B #8D5922
square
#228D24 #22568D #8D228B #8D5922
split-complementary
#228D24 #59228D #8D2256
monochromatic
#0A2A0B #165C17 #228D24 #2EBE31 #54D656

Accessibility & contrast

On white

4.28
#228D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#228D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D24
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D24#FFFFFF#000000##000000
##228D241.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d24;
/* rgb */ color: rgb(34, 141, 36);
/* oklch */ color: oklch(56.4% 0.170 143.1);
Tailwind
colors: {
  custom: {
    50: '#70af66',
    500: '#228d24',
    950: '#000000',
  },
}
SCSS
$custom: #228d24;
$custom-light: #70af66;
$custom-dark: #000000;
JSON
{
  "hex": "#228d24",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 121.121,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.16989,
    "h": 143.1
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#228D24
secondary
#B951B8
accent
#44E1E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D24

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

Preview Lab → · Contrast checker → · Palette generator →

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