#227B29#227B29

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

Color values

HEX#227B29
RGBrgb(34, 123, 41)
HSLhsl(125, 57%, 31%)
HSVhsv(125, 72%, 48%)
CMYKcmyk(72.4%, 0%, 66.7%, 51.8%)
CIE-LABlab(45.17, -43.26, 36.33)
CIE-LCHlch(45.17, 56.49, 139.98°)
OKLaboklab(51.3% -0.1171 0.0845)
OKLCHoklch(51.3% 0.144 144.2)
XYZxyz(8.1424, 14.6652, 4.4989)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B29 #7B2274
analogous
#477B22 #227B29 #227B55
triadic
#227B29 #29227B #7B2922
tetradic
#227B29 #22477B #7B2274 #7B5522
square
#227B29 #22477B #7B2274 #7B5522
split-complementary
#227B29 #55227B #7B2247
monochromatic
#071B09 #154B19 #227B29 #2FAB39 #4ACD55

Accessibility & contrast

On white

5.34
#227B29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#227B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B29
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B29#FFFFFF#000000##FFFFFF
##227B291.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1F
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#03786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b29;
/* rgb */ color: rgb(34, 123, 41);
/* oklch */ color: oklch(51.3% 0.144 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ba266',
    500: '#227b29',
    950: '#000000',
  },
}
SCSS
$custom: #227b29;
$custom-light: #6ba266;
$custom-dark: #000000;
JSON
{
  "hex": "#227b29",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 124.719,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.14438,
    "h": 144.2
  },
  "luminance": 0.14666
}

Semantic roles & 50–950 ramp

primary
#227B29
secondary
#AE4BA6
accent
#48D4E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #227B29

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

Preview Lab → · Contrast checker → · Palette generator →

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