#228820#228820

#228820 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.166 H 142.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#228820
RGBrgb(34, 136, 32)
HSLhsl(119, 62%, 33%)
HSVhsv(119, 76%, 53%)
CMYKcmyk(75%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.56, -48.73, 44.72)
CIE-LCHlch(49.56, 66.14, 137.45°)
OKLaboklab(54.92% -0.1324 0.1009)
OKLCHoklch(54.92% 0.166 142.7)
XYZxyz(9.7240, 18.0516, 4.3381)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228820 #862088
analogous
#568820 #228820 #208852
triadic
#228820 #202288 #882022
tetradic
#228820 #205688 #862088 #885220
square
#228820 #205688 #862088 #885220
split-complementary
#228820 #522088 #882056
monochromatic
#092509 #165614 #228820 #2EBA2C #50D54D

Accessibility & contrast

On white

4.55
#228820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#228820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228820
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228820#FFFFFF#000000##000000
##2288201.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #228820;
/* rgb */ color: rgb(34, 136, 32);
/* oklch */ color: oklch(54.9% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#6fac63',
    500: '#228820',
    950: '#000000',
  },
}
SCSS
$custom: #228820;
$custom-light: #6fac63;
$custom-dark: #000000;
JSON
{
  "hex": "#228820",
  "rgb": {
    "r": 34,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 118.846,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.16647,
    "h": 142.7
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228820

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

Preview Lab → · Contrast checker → · Palette generator →

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