#228027#228027

#228027 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.152 H 143.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228027
RGBrgb(34, 128, 39)
HSLhsl(123, 58%, 32%)
HSVhsv(123, 73%, 50%)
CMYKcmyk(73.4%, 0%, 69.5%, 49.8%)
CIE-LABlab(46.87, -45.29, 39.09)
CIE-LCHlch(46.87, 59.83, 139.20°)
OKLaboklab(52.71% -0.1227 0.0901)
OKLCHoklch(52.71% 0.152 143.7)
XYZxyz(8.7445, 15.9239, 4.5318)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228027 #80227B
analogous
#4C8022 #228027 #228056
triadic
#228027 #272280 #802722
tetradic
#228027 #224C80 #80227B #805622
square
#228027 #224C80 #80227B #805622
split-complementary
#228027 #562280 #80224C
monochromatic
#081F0A #155018 #228027 #2FB036 #4DD054

Accessibility & contrast

On white

5.02
#228027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#228027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228027
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228027#FFFFFF#000000##FFFFFF
##2280271.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228027;
/* rgb */ color: rgb(34, 128, 39);
/* oklch */ color: oklch(52.7% 0.152 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ca666',
    500: '#228027',
    950: '#000000',
  },
}
SCSS
$custom: #228027;
$custom-light: #6ca666;
$custom-dark: #000000;
JSON
{
  "hex": "#228027",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 123.191,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.15222,
    "h": 143.7
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#228027
secondary
#B24BAD
accent
#47D9E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228027

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

Preview Lab → · Contrast checker → · Palette generator →

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