#229F2C#229F2C

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

Color values

HEX#229F2C
RGBrgb(34, 159, 44)
HSLhsl(125, 65%, 38%)
HSVhsv(125, 79%, 62%)
CMYKcmyk(78.6%, 0%, 72.3%, 37.6%)
CIE-LABlab(57.38, -55.35, 48.13)
CIE-LCHlch(57.38, 73.35, 138.99°)
OKLaboklab(61.44% -0.1498 0.1097)
OKLCHoklch(61.44% 0.186 143.8)
XYZxyz(13.5116, 25.3166, 6.5569)
Luminance0.2532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F2C #9F2295
analogous
#569F22 #229F2C #229F6A
triadic
#229F2C #2C229F #9F2C22
tetradic
#229F2C #22569F #9F2295 #9F6A22
square
#229F2C #22569F #9F2295 #9F6A22
split-complementary
#229F2C #6A229F #9F2256
monochromatic
#0C3A10 #176D1E #229F2C #2DD13A #5FDD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229F2C#FFFFFF#000000##000000
##229F2C1.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)
#A29019
Deuteranopia (green-blind)
#958638
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f2c;
/* rgb */ color: rgb(34, 159, 44);
/* oklch */ color: oklch(61.4% 0.186 143.8);
Tailwind
colors: {
  custom: {
    50: '#74bd6c',
    500: '#229f2c',
    950: '#000000',
  },
}
SCSS
$custom: #229f2c;
$custom-light: #74bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#229f2c",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 124.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.18563,
    "h": 143.8
  },
  "luminance": 0.25318
}

Semantic roles & 50–950 ramp

primary
#229F2C
secondary
#C15BB9
accent
#40DAE8
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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