#228427#228427

#228427 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.157 H 143.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228427
RGBrgb(34, 132, 39)
HSLhsl(123, 59%, 33%)
HSVhsv(123, 74%, 52%)
CMYKcmyk(74.2%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.24, -46.71, 40.56)
CIE-LCHlch(48.24, 61.87, 139.03°)
OKLaboklab(53.84% -0.1266 0.0932)
OKLCHoklch(53.84% 0.157 143.6)
XYZxyz(9.2766, 16.9881, 4.7092)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228427 #84227F
analogous
#4E8422 #228427 #228458
triadic
#228427 #272284 #842722
tetradic
#228427 #224E84 #84227F #845822
square
#228427 #224E84 #84227F #845822
split-complementary
#228427 #582284 #84224E
monochromatic
#09230A #155319 #228427 #2FB535 #4FD255

Accessibility & contrast

On white

4.78
#228427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#228427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228427
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228427#FFFFFF#000000##FFFFFF
##2284271.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228427;
/* rgb */ color: rgb(34, 132, 39);
/* oklch */ color: oklch(53.8% 0.157 143.6);
Tailwind
colors: {
  custom: {
    50: '#6da966',
    500: '#228427',
    950: '#000000',
  },
}
SCSS
$custom: #228427;
$custom-light: #6da966;
$custom-dark: #000000;
JSON
{
  "hex": "#228427",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 123.061,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.15715,
    "h": 143.6
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#228427
secondary
#B54DB0
accent
#46DAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228427

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

Preview Lab → · Contrast checker → · Palette generator →

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