#228F29#228F29

#228F29 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.169 H 143.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#228F29
RGBrgb(34, 143, 41)
HSLhsl(124, 62%, 35%)
HSVhsv(124, 76%, 56%)
CMYKcmyk(76.2%, 0%, 71.3%, 43.9%)
CIE-LABlab(52.00, -50.32, 43.70)
CIE-LCHlch(52.00, 66.65, 139.02°)
OKLaboklab(56.97% -0.1362 0.1)
OKLCHoklch(56.97% 0.169 143.7)
XYZxyz(10.8817, 20.1438, 5.4121)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F29 #8F2288
analogous
#528F22 #228F29 #228F5F
triadic
#228F29 #29228F #8F2922
tetradic
#228F29 #22528F #8F2288 #8F5F22
square
#228F29 #22528F #8F2288 #8F5F22
split-complementary
#228F29 #5F228F #8F2252
monochromatic
#0A2C0D #165E1B #228F29 #2EC037 #55D75D

Accessibility & contrast

On white

4.18
#228F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#228F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F29
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F29#FFFFFF#000000##000000
##228F291.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f29;
/* rgb */ color: rgb(34, 143, 41);
/* oklch */ color: oklch(57.0% 0.169 143.7);
Tailwind
colors: {
  custom: {
    50: '#70b169',
    500: '#228f29',
    950: '#000000',
  },
}
SCSS
$custom: #228f29;
$custom-light: #70b169;
$custom-dark: #000000;
JSON
{
  "hex": "#228f29",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 123.853,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.16901,
    "h": 143.7
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#228F29
secondary
#BA52B4
accent
#43DAE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228F29

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

Preview Lab → · Contrast checker → · Palette generator →

#228F29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva