#228420#228420

#228420 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.162 H 142.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228420
RGBrgb(34, 132, 32)
HSLhsl(119, 61%, 32%)
HSVhsv(119, 76%, 52%)
CMYKcmyk(74.2%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.19, -47.36, 43.35)
CIE-LCHlch(48.19, 64.20, 137.53°)
OKLaboklab(53.78% -0.1287 0.0981)
OKLCHoklch(53.78% 0.162 142.7)
XYZxyz(9.1711, 16.9459, 4.1538)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228420 #822084
analogous
#548420 #228420 #208450
triadic
#228420 #202284 #842022
tetradic
#228420 #205484 #822084 #845020
square
#228420 #205484 #822084 #845020
split-complementary
#228420 #502084 #842054
monochromatic
#092108 #155314 #228420 #2FB52C #4ED34B

Accessibility & contrast

On white

4.78
#228420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#228420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228420
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228420#FFFFFF#000000##FFFFFF
##2284201.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228420;
/* rgb */ color: rgb(34, 132, 32);
/* oklch */ color: oklch(53.8% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ea962',
    500: '#228420',
    950: '#000000',
  },
}
SCSS
$custom: #228420;
$custom-light: #6ea962;
$custom-dark: #000000;
JSON
{
  "hex": "#228420",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 118.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53782,
    "c": 0.16177,
    "h": 142.7
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#228420
secondary
#B44AB6
accent
#44E4E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #228420

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

Preview Lab → · Contrast checker → · Palette generator →

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