#229F42#229F42

#229F42 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.169 H 147.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#229F42
RGBrgb(34, 159, 66)
HSLhsl(135, 65%, 38%)
HSVhsv(135, 79%, 62%)
CMYKcmyk(78.6%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.59, -52.87, 38.67)
CIE-LCHlch(57.59, 65.50, 143.82°)
OKLaboklab(61.68% -0.1422 0.0918)
OKLCHoklch(61.68% 0.169 147.2)
XYZxyz(14.0401, 25.5280, 9.3406)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229F42 #9F227F
analogous
#409F22 #229F42 #229F80
triadic
#229F42 #42229F #9F4222
tetradic
#229F42 #22409F #9F227F #9F8022
square
#229F42 #22409F #9F227F #9F8022
split-complementary
#229F42 #80229F #9F2240
monochromatic
#0C3A18 #176D2D #229F42 #2DD157 #5FDD7F

Accessibility & contrast

On white

3.44
#229F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#229F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229F42
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229F42#FFFFFF#000000##000000
##229F421.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19039
Deuteranopia (green-blind)
#938649
Tritanopia (blue-blind)
#009B8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #229f42;
/* rgb */ color: rgb(34, 159, 66);
/* oklch */ color: oklch(61.7% 0.169 147.2);
Tailwind
colors: {
  custom: {
    50: '#73bc79',
    500: '#229f42',
    950: '#000000',
  },
}
SCSS
$custom: #229f42;
$custom-light: #73bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#229f42",
  "rgb": {
    "r": 34,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 135.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.16926,
    "h": 147.2
  },
  "luminance": 0.2553
}

Semantic roles & 50–950 ramp

primary
#229F42
secondary
#C15BA7
accent
#40BDE8
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #229F42

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

Preview Lab → · Contrast checker → · Palette generator →

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