#228023#228023

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

Color values

HEX#228023
RGBrgb(34, 128, 35)
HSLhsl(121, 58%, 32%)
HSVhsv(121, 73%, 50%)
CMYKcmyk(73.4%, 0%, 72.7%, 49.8%)
CIE-LABlab(46.84, -45.69, 40.77)
CIE-LCHlch(46.84, 61.23, 138.26°)
OKLaboklab(52.67% -0.124 0.0931)
OKLCHoklch(52.67% 0.155 143.1)
XYZxyz(8.6817, 15.8988, 4.2010)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228023 #80227F
analogous
#508022 #228023 #228052
triadic
#228023 #232280 #802322
tetradic
#228023 #225080 #80227F #805222
square
#228023 #225080 #80227F #805222
split-complementary
#228023 #522280 #802250
monochromatic
#081F09 #155016 #228023 #2FB030 #4DD04E

Accessibility & contrast

On white

5.02
#228023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#228023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228023
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228023#FFFFFF#000000##FFFFFF
##2280231.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#027C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228023;
/* rgb */ color: rgb(34, 128, 35);
/* oklch */ color: oklch(52.7% 0.155 143.1);
Tailwind
colors: {
  custom: {
    50: '#6da664',
    500: '#228023',
    950: '#000000',
  },
}
SCSS
$custom: #228023;
$custom-light: #6da664;
$custom-dark: #000000;
JSON
{
  "hex": "#228023",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 120.638,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.15504,
    "h": 143.1
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#228023
secondary
#B24BB1
accent
#47E0E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228023

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

Preview Lab → · Contrast checker → · Palette generator →

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