#229F51#229F51

#229F51 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.9% C 0.156 H 150.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#229F51
RGBrgb(34, 159, 81)
HSLhsl(143, 65%, 38%)
HSVhsv(143, 79%, 62%)
CMYKcmyk(78.6%, 0%, 49.1%, 37.6%)
CIE-LABlab(57.78, -50.59, 31.36)
CIE-LCHlch(57.78, 59.52, 148.20°)
OKLaboklab(61.9% -0.1359 0.0765)
OKLCHoklch(61.9% 0.156 150.6)
XYZxyz(14.5418, 25.7287, 11.9827)
Luminance0.2573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F51 #9F2270
analogous
#319F22 #229F51 #229F8F
triadic
#229F51 #51229F #9F5122
tetradic
#229F51 #22319F #9F2270 #9F8F22
square
#229F51 #22319F #9F2270 #9F8F22
split-complementary
#229F51 #8F229F #9F2231
monochromatic
#0C3A1E #176D37 #229F51 #2DD16B #5FDD8E

Accessibility & contrast

On white

3.42
#229F51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#229F51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F51
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F51#FFFFFF#000000##000000
##229F511.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0914B
Deuteranopia (green-blind)
#928757
Tritanopia (blue-blind)
#009C8D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #229f51;
/* rgb */ color: rgb(34, 159, 81);
/* oklch */ color: oklch(61.9% 0.156 150.6);
Tailwind
colors: {
  custom: {
    50: '#72bc83',
    500: '#229f51',
    950: '#000000',
  },
}
SCSS
$custom: #229f51;
$custom-light: #72bc83;
$custom-dark: #000000;
JSON
{
  "hex": "#229f51",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 81
  },
  "hsl": {
    "h": 142.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.15593,
    "h": 150.6
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#229F51
secondary
#C15B9B
accent
#40A9E8
background
#F7FBF8
surface
#EDF7EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #229F51

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

Preview Lab → · Contrast checker → · Palette generator →

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