#229F23#229F23

#229F23 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.4% C 0.191 H 142.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#229F23
RGBrgb(34, 159, 35)
HSLhsl(120, 65%, 38%)
HSVhsv(120, 79%, 62%)
CMYKcmyk(78.6%, 0%, 78%, 37.6%)
CIE-LABlab(57.32, -56.08, 51.34)
CIE-LCHlch(57.32, 76.03, 137.53°)
OKLaboklab(61.38% -0.1522 0.1152)
OKLCHoklch(61.38% 0.191 142.9)
XYZxyz(13.3604, 25.2561, 5.7606)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F23 #9F229E
analogous
#5F9F22 #229F23 #229F61
triadic
#229F23 #23229F #9F2322
tetradic
#229F23 #225F9F #9F229E #9F6122
square
#229F23 #225F9F #9F229E #9F6122
split-complementary
#229F23 #61229F #9F225F
monochromatic
#0C3A0D #176D18 #229F23 #2DD12E #5FDD60

Accessibility & contrast

On white

3.47
#229F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#229F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F23
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F23#FFFFFF#000000##000000
##229F231.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F03
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f23;
/* rgb */ color: rgb(34, 159, 35);
/* oklch */ color: oklch(61.4% 0.191 142.9);
Tailwind
colors: {
  custom: {
    50: '#74bd68',
    500: '#229f23',
    950: '#000000',
  },
}
SCSS
$custom: #229f23;
$custom-light: #74bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#229f23",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 120.48,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.19083,
    "h": 142.9
  },
  "luminance": 0.25258
}

Semantic roles & 50–950 ramp

primary
#229F23
secondary
#C15BC1
accent
#40E6E8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229F23

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

Preview Lab → · Contrast checker → · Palette generator →

#229F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva