#227428#227428

#227428 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.136 H 144.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#227428
RGBrgb(34, 116, 40)
HSLhsl(124, 55%, 29%)
HSVhsv(124, 71%, 45%)
CMYKcmyk(70.7%, 0%, 65.5%, 54.5%)
CIE-LABlab(42.74, -40.77, 34.08)
CIE-LCHlch(42.74, 53.13, 140.11°)
OKLaboklab(49.28% -0.1104 0.0796)
OKLCHoklch(49.28% 0.136 144.2)
XYZxyz(7.2876, 12.9833, 4.1290)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227428 #74226E
analogous
#457422 #227428 #227451
triadic
#227428 #282274 #742822
tetradic
#227428 #224574 #74226E #745122
square
#227428 #224574 #74226E #745122
split-complementary
#227428 #512274 #742245
monochromatic
#071808 #144518 #227428 #30A338 #47C951

Accessibility & contrast

On white

5.84
#227428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#227428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227428
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227428#FFFFFF#000000##FFFFFF
##2274281.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622E
Tritanopia (blue-blind)
#0A7164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227428;
/* rgb */ color: rgb(34, 116, 40);
/* oklch */ color: oklch(49.3% 0.136 144.2);
Tailwind
colors: {
  custom: {
    50: '#699d65',
    500: '#227428',
    950: '#000000',
  },
}
SCSS
$custom: #227428;
$custom-light: #699d65;
$custom-dark: #000000;
JSON
{
  "hex": "#227428",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 124.39,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.13607,
    "h": 144.2
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#227428
secondary
#A74BA0
accent
#4AD3DE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #227428

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

Preview Lab → · Contrast checker → · Palette generator →

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