#227528#227528

#227528 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.137 H 144.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#227528
RGBrgb(34, 117, 40)
HSLhsl(124, 55%, 30%)
HSVhsv(124, 71%, 46%)
CMYKcmyk(70.9%, 0%, 65.8%, 54.1%)
CIE-LABlab(43.09, -41.14, 34.47)
CIE-LCHlch(43.09, 53.67, 140.04°)
OKLaboklab(49.57% -0.1114 0.0804)
OKLCHoklch(49.57% 0.137 144.2)
XYZxyz(7.4035, 13.2151, 4.1677)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227528 #75226F
analogous
#467522 #227528 #227551
triadic
#227528 #282275 #752822
tetradic
#227528 #224675 #75226F #755122
square
#227528 #224675 #75226F #755122
split-complementary
#227528 #512275 #752246
monochromatic
#071808 #144618 #227528 #30A438 #48CA51

Accessibility & contrast

On white

5.76
#227528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#227528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227528
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227528#FFFFFF#000000##FFFFFF
##2275281.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1F
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#097265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227528;
/* rgb */ color: rgb(34, 117, 40);
/* oklch */ color: oklch(49.6% 0.137 144.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e65',
    500: '#227528',
    950: '#000000',
  },
}
SCSS
$custom: #227528;
$custom-light: #6a9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#227528",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 124.337,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.13739,
    "h": 144.2
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#227528
secondary
#A84BA1
accent
#49D4DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227528

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

Preview Lab → · Contrast checker → · Palette generator →

#227528 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva