#229F2B#229F2B

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

Color values

HEX#229F2B
RGBrgb(34, 159, 43)
HSLhsl(124, 65%, 38%)
HSVhsv(124, 79%, 62%)
CMYKcmyk(78.6%, 0%, 73%, 37.6%)
CIE-LABlab(57.38, -55.44, 48.51)
CIE-LCHlch(57.38, 73.67, 138.82°)
OKLaboklab(61.44% -0.1501 0.1103)
OKLCHoklch(61.44% 0.186 143.7)
XYZxyz(13.4930, 25.3092, 6.4591)
Luminance0.2531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F2B #9F2296
analogous
#579F22 #229F2B #229F69
triadic
#229F2B #2B229F #9F2B22
tetradic
#229F2B #22579F #9F2296 #9F6922
square
#229F2B #22579F #9F2296 #9F6922
split-complementary
#229F2B #69229F #9F2257
monochromatic
#0C3A10 #176D1D #229F2B #2DD139 #5FDD68

Accessibility & contrast

On white

3.46
#229F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#229F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F2B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F2B#FFFFFF#000000##000000
##229F2B1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #229f2b;
/* rgb */ color: rgb(34, 159, 43);
/* oklch */ color: oklch(61.4% 0.186 143.7);
Tailwind
colors: {
  custom: {
    50: '#74bd6c',
    500: '#229f2b',
    950: '#000000',
  },
}
SCSS
$custom: #229f2b;
$custom-light: #74bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#229f2b",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 124.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.18626,
    "h": 143.7
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#229F2B
secondary
#C15BBA
accent
#40DCE8
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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