#227E29#227E29

#227E29 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.148 H 144.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#227E29
RGBrgb(34, 126, 41)
HSLhsl(125, 58%, 31%)
HSVhsv(125, 73%, 49%)
CMYKcmyk(73%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.21, -44.35, 37.47)
CIE-LCHlch(46.21, 58.06, 139.81°)
OKLaboklab(52.16% -0.1201 0.0869)
OKLCHoklch(52.16% 0.148 144.1)
XYZxyz(8.5202, 15.4209, 4.6249)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E29 #7E2277
analogous
#497E22 #227E29 #227E57
triadic
#227E29 #29227E #7E2922
tetradic
#227E29 #22497E #7E2277 #7E5722
square
#227E29 #22497E #7E2277 #7E5722
split-complementary
#227E29 #57227E #7E2249
monochromatic
#081E0A #154E19 #227E29 #2FAE39 #4CCF56

Accessibility & contrast

On white

5.14
#227E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#227E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E29
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E29#FFFFFF#000000##FFFFFF
##227E291.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721E
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227e29;
/* rgb */ color: rgb(34, 126, 41);
/* oklch */ color: oklch(52.2% 0.148 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ca467',
    500: '#227e29',
    950: '#000000',
  },
}
SCSS
$custom: #227e29;
$custom-light: #6ca467;
$custom-dark: #000000;
JSON
{
  "hex": "#227e29",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 124.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52158,
    "c": 0.1482,
    "h": 144.1
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#227E29
secondary
#B14BA9
accent
#47D5E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227E29

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

Preview Lab → · Contrast checker → · Palette generator →

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