#229E1B#229E1B

#229E1B is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.194 H 142.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#229E1B
RGBrgb(34, 158, 27)
HSLhsl(117, 71%, 36%)
HSVhsv(117, 83%, 62%)
CMYKcmyk(78.5%, 0%, 82.9%, 38%)
CIE-LABlab(56.95, -56.27, 53.46)
CIE-LCHlch(56.95, 77.62, 136.47°)
OKLaboklab(61.05% -0.153 0.1185)
OKLCHoklch(61.05% 0.194 142.3)
XYZxyz(13.0836, 24.8714, 5.1478)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#229E1B #971B9E
analogous
#649E1B #229E1B #1B9E56
triadic
#229E1B #1B229E #9E1B22
tetradic
#229E1B #1B649E #971B9E #9E561B
square
#229E1B #1B649E #971B9E #9E561B
split-complementary
#229E1B #561B9E #9E1B64
monochromatic
#0C3509 #176A12 #229E1B #2DD224 #5AE152

Accessibility & contrast

On white

3.51
#229E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#229E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #229E1B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##229E1B#FFFFFF#000000##000000
##229E1B1.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#009986
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #229e1b;
/* rgb */ color: rgb(34, 158, 27);
/* oklch */ color: oklch(61.1% 0.194 142.3);
Tailwind
colors: {
  custom: {
    50: '#74bc64',
    500: '#229e1b',
    950: '#000000',
  },
}
SCSS
$custom: #229e1b;
$custom-light: #74bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#229e1b",
  "rgb": {
    "r": 34,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 116.794,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.19353,
    "h": 142.3
  },
  "luminance": 0.24873
}

Semantic roles & 50–950 ramp

primary
#229E1B
secondary
#BE51C4
accent
#3AEEE4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #229E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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