#227529#227529

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

Color values

HEX#227529
RGBrgb(34, 117, 41)
HSLhsl(125, 55%, 30%)
HSVhsv(125, 71%, 46%)
CMYKcmyk(70.9%, 0%, 65%, 54.1%)
CIE-LABlab(43.10, -41.02, 34.00)
CIE-LCHlch(43.10, 53.28, 140.35°)
OKLaboklab(49.58% -0.111 0.0795)
OKLCHoklch(49.58% 0.137 144.4)
XYZxyz(7.4207, 13.2220, 4.2584)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227529 #75226E
analogous
#457522 #227529 #227553
triadic
#227529 #292275 #752922
tetradic
#227529 #224575 #75226E #755322
square
#227529 #224575 #75226E #755322
split-complementary
#227529 #532275 #752245
monochromatic
#071808 #144618 #227529 #30A43A #48CA53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227529#FFFFFF#000000##FFFFFF
##2275291.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)
#776A20
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#087265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #227529;
/* rgb */ color: rgb(34, 117, 41);
/* oklch */ color: oklch(49.6% 0.137 144.4);
Tailwind
colors: {
  custom: {
    50: '#6a9e66',
    500: '#227529',
    950: '#000000',
  },
}
SCSS
$custom: #227529;
$custom-light: #6a9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#227529",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 125.06,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.13655,
    "h": 144.4
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#227529
secondary
#A84BA0
accent
#49D2DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227529

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

Preview Lab → · Contrast checker → · Palette generator →

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