#227A29#227A29

#227A29 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.143 H 144.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227A29
RGBrgb(34, 122, 41)
HSLhsl(125, 56%, 31%)
HSVhsv(125, 72%, 48%)
CMYKcmyk(72.1%, 0%, 66.4%, 52.2%)
CIE-LABlab(44.83, -42.89, 35.94)
CIE-LCHlch(44.83, 55.96, 140.04°)
OKLaboklab(51.02% -0.1161 0.0836)
OKLCHoklch(51.02% 0.143 144.2)
XYZxyz(8.0189, 14.4184, 4.4578)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A29 #7A2273
analogous
#477A22 #227A29 #227A55
triadic
#227A29 #29227A #7A2922
tetradic
#227A29 #22477A #7A2273 #7A5522
square
#227A29 #22477A #7A2273 #7A5522
split-complementary
#227A29 #55227A #7A2247
monochromatic
#071A09 #154A19 #227A29 #2FAA39 #4ACD54

Accessibility & contrast

On white

5.41
#227A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A29
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A29#FFFFFF#000000##FFFFFF
##227A291.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1F
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#047769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227a29;
/* rgb */ color: rgb(34, 122, 41);
/* oklch */ color: oklch(51.0% 0.143 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ba166',
    500: '#227a29',
    950: '#000000',
  },
}
SCSS
$custom: #227a29;
$custom-light: #6ba166;
$custom-dark: #000000;
JSON
{
  "hex": "#227a29",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 124.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.14308,
    "h": 144.2
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#227A29
secondary
#AD4BA5
accent
#48D4E0
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227A29

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

Preview Lab → · Contrast checker → · Palette generator →

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