#228720#228720

#228720 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.6% C 0.165 H 142.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228720
RGBrgb(34, 135, 32)
HSLhsl(119, 62%, 33%)
HSVhsv(119, 76%, 53%)
CMYKcmyk(74.8%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.22, -48.39, 44.38)
CIE-LCHlch(49.22, 65.66, 137.47°)
OKLaboklab(54.63% -0.1315 0.1002)
OKLCHoklch(54.63% 0.165 142.7)
XYZxyz(9.5838, 17.7712, 4.2913)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228720 #852087
analogous
#558720 #228720 #208751
triadic
#228720 #202287 #872022
tetradic
#228720 #205587 #852087 #875120
square
#228720 #205587 #852087 #875120
split-complementary
#228720 #512087 #872055
monochromatic
#092409 #165614 #228720 #2EB82C #4FD54D

Accessibility & contrast

On white

4.61
#228720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#228720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228720
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228720#FFFFFF#000000##FFFFFF
##2287201.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228720;
/* rgb */ color: rgb(34, 135, 32);
/* oklch */ color: oklch(54.6% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eab63',
    500: '#228720',
    950: '#000000',
  },
}
SCSS
$custom: #228720;
$custom-light: #6eab63;
$custom-dark: #000000;
JSON
{
  "hex": "#228720",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 118.835,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.16531,
    "h": 142.7
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#228720
secondary
#B64BB8
accent
#43E5E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228720

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

Preview Lab → · Contrast checker → · Palette generator →

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