#228024#228024

#228024 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.154 H 143.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228024
RGBrgb(34, 128, 36)
HSLhsl(121, 58%, 32%)
HSVhsv(121, 73%, 50%)
CMYKcmyk(73.4%, 0%, 71.9%, 49.8%)
CIE-LABlab(46.85, -45.59, 40.36)
CIE-LCHlch(46.85, 60.89, 138.49°)
OKLaboklab(52.68% -0.1237 0.0924)
OKLCHoklch(52.68% 0.154 143.3)
XYZxyz(8.6968, 15.9048, 4.2803)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228024 #80227E
analogous
#4F8022 #228024 #228053
triadic
#228024 #242280 #802422
tetradic
#228024 #224F80 #80227E #805322
square
#228024 #224F80 #80227E #805322
split-complementary
#228024 #532280 #80224F
monochromatic
#081F09 #155016 #228024 #2FB032 #4DD050

Accessibility & contrast

On white

5.02
#228024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#228024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228024
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228024#FFFFFF#000000##FFFFFF
##2280241.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837416
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#017C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228024;
/* rgb */ color: rgb(34, 128, 36);
/* oklch */ color: oklch(52.7% 0.154 143.3);
Tailwind
colors: {
  custom: {
    50: '#6da664',
    500: '#228024',
    950: '#000000',
  },
}
SCSS
$custom: #228024;
$custom-light: #6da664;
$custom-dark: #000000;
JSON
{
  "hex": "#228024",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 121.277,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.15435,
    "h": 143.3
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#228024
secondary
#B24BB0
accent
#47DEE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228024

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

Preview Lab → · Contrast checker → · Palette generator →

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