#229F2A#229F2A

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

Color values

HEX#229F2A
RGBrgb(34, 159, 42)
HSLhsl(124, 65%, 38%)
HSVhsv(124, 79%, 62%)
CMYKcmyk(78.6%, 0%, 73.6%, 37.6%)
CIE-LABlab(57.37, -55.53, 48.88)
CIE-LCHlch(57.37, 73.98, 138.64°)
OKLaboklab(61.43% -0.1504 0.111)
OKLCHoklch(61.43% 0.187 143.6)
XYZxyz(13.4749, 25.3019, 6.3636)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F2A #9F2297
analogous
#589F22 #229F2A #229F68
triadic
#229F2A #2A229F #9F2A22
tetradic
#229F2A #22589F #9F2297 #9F6822
square
#229F2A #22589F #9F2297 #9F6822
split-complementary
#229F2A #68229F #9F2258
monochromatic
#0C3A0F #176D1D #229F2A #2DD137 #5FDD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229F2A#FFFFFF#000000##000000
##229F2A1.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)
#A28F15
Deuteranopia (green-blind)
#958636
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f2a;
/* rgb */ color: rgb(34, 159, 42);
/* oklch */ color: oklch(61.4% 0.187 143.6);
Tailwind
colors: {
  custom: {
    50: '#74bd6b',
    500: '#229f2a',
    950: '#000000',
  },
}
SCSS
$custom: #229f2a;
$custom-light: #74bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#229f2a",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 123.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.18688,
    "h": 143.6
  },
  "luminance": 0.25304
}

Semantic roles & 50–950 ramp

primary
#229F2A
secondary
#C15BBB
accent
#40DDE8
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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