#227D29#227D29

#227D29 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.147 H 144.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#227D29
RGBrgb(34, 125, 41)
HSLhsl(125, 57%, 31%)
HSVhsv(125, 73%, 49%)
CMYKcmyk(72.8%, 0%, 67.2%, 51%)
CIE-LABlab(45.86, -43.99, 37.09)
CIE-LCHlch(45.86, 57.54, 139.86°)
OKLaboklab(51.87% -0.1191 0.0861)
OKLCHoklch(51.87% 0.147 144.1)
XYZxyz(8.3930, 15.1665, 4.5825)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D29 #7D2276
analogous
#487D22 #227D29 #227D56
triadic
#227D29 #29227D #7D2922
tetradic
#227D29 #22487D #7D2276 #7D5622
square
#227D29 #22487D #7D2276 #7D5622
split-complementary
#227D29 #56227D #7D2248
monochromatic
#081D09 #154D19 #227D29 #2FAD39 #4BCE55

Accessibility & contrast

On white

5.21
#227D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D29
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D29#FFFFFF#000000##FFFFFF
##227D291.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#017A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227d29;
/* rgb */ color: rgb(34, 125, 41);
/* oklch */ color: oklch(51.9% 0.147 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca467',
    500: '#227d29',
    950: '#000000',
  },
}
SCSS
$custom: #227d29;
$custom-light: #6ca467;
$custom-dark: #000000;
JSON
{
  "hex": "#227d29",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 124.615,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.14693,
    "h": 144.1
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#227D29
secondary
#B04BA8
accent
#47D5E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227D29

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

Preview Lab → · Contrast checker → · Palette generator →

#227D29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva