#228A27#228A27

#228A27 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.164 H 143.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#228A27
RGBrgb(34, 138, 39)
HSLhsl(123, 60%, 34%)
HSVhsv(123, 75%, 54%)
CMYKcmyk(75.4%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.29, -48.80, 42.73)
CIE-LCHlch(50.29, 64.86, 138.79°)
OKLaboklab(55.54% -0.1322 0.0977)
OKLCHoklch(55.54% 0.164 143.5)
XYZxyz(10.1137, 18.6624, 4.9882)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228A27 #8A2285
analogous
#518A22 #228A27 #228A5B
triadic
#228A27 #27228A #8A2722
tetradic
#228A27 #22518A #8A2285 #8A5B22
square
#228A27 #22518A #8A2285 #8A5B22
split-complementary
#228A27 #5B228A #8A2251
monochromatic
#0A280B #165919 #228A27 #2EBB35 #52D458

Accessibility & contrast

On white

4.44
#228A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#228A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228A27
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228A27#FFFFFF#000000##000000
##228A271.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228a27;
/* rgb */ color: rgb(34, 138, 39);
/* oklch */ color: oklch(55.5% 0.164 143.5);
Tailwind
colors: {
  custom: {
    50: '#6fad67',
    500: '#228a27',
    950: '#000000',
  },
}
SCSS
$custom: #228a27;
$custom-light: #6fad67;
$custom-dark: #000000;
JSON
{
  "hex": "#228a27",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 122.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5554,
    "c": 0.16441,
    "h": 143.5
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#228A27
secondary
#B850B3
accent
#44DCE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228A27

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

Preview Lab → · Contrast checker → · Palette generator →

#228A27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva