#228323#228323

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

Color values

HEX#228323
RGBrgb(34, 131, 35)
HSLhsl(121, 59%, 32%)
HSVhsv(121, 74%, 51%)
CMYKcmyk(74%, 0%, 73.3%, 48.6%)
CIE-LABlab(47.87, -46.75, 41.84)
CIE-LCHlch(47.87, 62.73, 138.17°)
OKLaboklab(53.52% -0.1268 0.0953)
OKLCHoklch(53.52% 0.159 143.1)
XYZxyz(9.0788, 16.6930, 4.3334)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228323 #832282
analogous
#518322 #228323 #228354
triadic
#228323 #232283 #832322
tetradic
#228323 #225183 #832282 #835422
square
#228323 #225183 #832282 #835422
split-complementary
#228323 #542283 #832251
monochromatic
#092209 #155216 #228323 #2FB430 #4ED150

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228323#FFFFFF#000000##FFFFFF
##2283231.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)
#867613
Deuteranopia (green-blind)
#7B6F2D
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228323;
/* rgb */ color: rgb(34, 131, 35);
/* oklch */ color: oklch(53.5% 0.159 143.1);
Tailwind
colors: {
  custom: {
    50: '#6da864',
    500: '#228323',
    950: '#000000',
  },
}
SCSS
$custom: #228323;
$custom-light: #6da864;
$custom-dark: #000000;
JSON
{
  "hex": "#228323",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 120.619,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.15867,
    "h": 143.1
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#228323
secondary
#B44CB3
accent
#46E0E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228323

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

Preview Lab → · Contrast checker → · Palette generator →

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