#227928#227928

#227928 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.143 H 144.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#227928
RGBrgb(34, 121, 40)
HSLhsl(124, 56%, 30%)
HSVhsv(124, 72%, 47%)
CMYKcmyk(71.9%, 0%, 66.9%, 52.5%)
CIE-LABlab(44.47, -42.64, 36.01)
CIE-LCHlch(44.47, 55.81, 139.81°)
OKLaboklab(50.72% -0.1155 0.0837)
OKLCHoklch(50.72% 0.143 144.1)
XYZxyz(7.8796, 14.1672, 4.3263)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227928 #792273
analogous
#477922 #227928 #227953
triadic
#227928 #282279 #792822
tetradic
#227928 #224779 #792273 #795322
square
#227928 #224779 #792273 #795322
split-complementary
#227928 #532279 #792247
monochromatic
#071908 #154918 #227928 #2FA938 #49CC52

Accessibility & contrast

On white

5.48
#227928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#227928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227928
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227928#FFFFFF#000000##FFFFFF
##2279281.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#057668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227928;
/* rgb */ color: rgb(34, 121, 40);
/* oklch */ color: oklch(50.7% 0.143 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ba166',
    500: '#227928',
    950: '#000000',
  },
}
SCSS
$custom: #227928;
$custom-light: #6ba166;
$custom-dark: #000000;
JSON
{
  "hex": "#227928",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 124.138,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.14259,
    "h": 144.1
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#227928
secondary
#AC4BA5
accent
#48D5DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #227928

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

Preview Lab → · Contrast checker → · Palette generator →

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