#228423#228423

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

Color values

HEX#228423
RGBrgb(34, 132, 35)
HSLhsl(121, 59%, 33%)
HSVhsv(121, 74%, 52%)
CMYKcmyk(74.2%, 0%, 73.5%, 48.2%)
CIE-LABlab(48.21, -47.09, 42.19)
CIE-LCHlch(48.21, 63.23, 138.14°)
OKLaboklab(53.81% -0.1278 0.0961)
OKLCHoklch(53.81% 0.16 143.1)
XYZxyz(9.2138, 16.9629, 4.3784)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228423 #842283
analogous
#528422 #228423 #228454
triadic
#228423 #232284 #842322
tetradic
#228423 #225284 #842283 #845422
square
#228423 #225284 #842283 #845422
split-complementary
#228423 #542284 #842252
monochromatic
#092309 #155316 #228423 #2FB530 #4FD250

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228423#FFFFFF#000000##FFFFFF
##2284231.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)
#877713
Deuteranopia (green-blind)
#7C6F2D
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228423;
/* rgb */ color: rgb(34, 132, 35);
/* oklch */ color: oklch(53.8% 0.160 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ea964',
    500: '#228423',
    950: '#000000',
  },
}
SCSS
$custom: #228423;
$custom-light: #6ea964;
$custom-dark: #000000;
JSON
{
  "hex": "#228423",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 120.612,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.15988,
    "h": 143.1
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#228423
secondary
#B54DB4
accent
#46E1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228423

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

Preview Lab → · Contrast checker → · Palette generator →

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