#229F27#229F27

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

Color values

HEX#229F27
RGBrgb(34, 159, 39)
HSLhsl(122, 65%, 38%)
HSVhsv(122, 79%, 62%)
CMYKcmyk(78.6%, 0%, 75.5%, 37.6%)
CIE-LABlab(57.35, -55.78, 49.97)
CIE-LCHlch(57.35, 74.89, 138.14°)
OKLaboklab(61.41% -0.1512 0.1128)
OKLCHoklch(61.41% 0.189 143.3)
XYZxyz(13.4232, 25.2812, 6.0914)
Luminance0.2528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F27 #9F229A
analogous
#5B9F22 #229F27 #229F65
triadic
#229F27 #27229F #9F2722
tetradic
#229F27 #225B9F #9F229A #9F6522
square
#229F27 #225B9F #9F229A #9F6522
split-complementary
#229F27 #65229F #9F225B
monochromatic
#0C3A0E #176D1B #229F27 #2DD133 #5FDD64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##229F27#FFFFFF#000000##000000
##229F271.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #229f27;
/* rgb */ color: rgb(34, 159, 39);
/* oklch */ color: oklch(61.4% 0.189 143.3);
Tailwind
colors: {
  custom: {
    50: '#74bd69',
    500: '#229f27',
    950: '#000000',
  },
}
SCSS
$custom: #229f27;
$custom-light: #74bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#229f27",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 122.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.18864,
    "h": 143.3
  },
  "luminance": 0.25283
}

Semantic roles & 50–950 ramp

primary
#229F27
secondary
#C15BBD
accent
#40E1E8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #229F27

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

Preview Lab → · Contrast checker → · Palette generator →

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