#228320#228320

#228320 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.161 H 142.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228320
RGBrgb(34, 131, 32)
HSLhsl(119, 61%, 32%)
HSVhsv(119, 76%, 51%)
CMYKcmyk(74%, 0%, 75.6%, 48.6%)
CIE-LABlab(47.85, -47.01, 43.00)
CIE-LCHlch(47.85, 63.71, 137.55°)
OKLaboklab(53.5% -0.1277 0.0974)
OKLCHoklch(53.5% 0.161 142.7)
XYZxyz(9.0362, 16.6760, 4.1088)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228320 #812083
analogous
#548320 #228320 #208350
triadic
#228320 #202283 #832022
tetradic
#228320 #205483 #812083 #835020
square
#228320 #205483 #812083 #835020
split-complementary
#228320 #502083 #832054
monochromatic
#082108 #155214 #228320 #2FB42C #4DD34A

Accessibility & contrast

On white

4.84
#228320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#228320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228320
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228320#FFFFFF#000000##FFFFFF
##2283201.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228320;
/* rgb */ color: rgb(34, 131, 32);
/* oklch */ color: oklch(53.5% 0.161 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ea862',
    500: '#228320',
    950: '#000000',
  },
}
SCSS
$custom: #228320;
$custom-light: #6ea862;
$custom-dark: #000000;
JSON
{
  "hex": "#228320",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 118.788,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.16059,
    "h": 142.7
  },
  "luminance": 0.16677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228320

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

Preview Lab → · Contrast checker → · Palette generator →

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