#228527#228527

#228527 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.158 H 143.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228527
RGBrgb(34, 133, 39)
HSLhsl(123, 59%, 33%)
HSVhsv(123, 74%, 52%)
CMYKcmyk(74.4%, 0%, 70.7%, 47.8%)
CIE-LABlab(48.59, -47.06, 40.93)
CIE-LCHlch(48.59, 62.37, 138.99°)
OKLaboklab(54.13% -0.1275 0.0939)
OKLCHoklch(54.13% 0.158 143.6)
XYZxyz(9.4128, 17.2606, 4.7546)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228527 #852280
analogous
#4F8522 #228527 #228558
triadic
#228527 #272285 #852722
tetradic
#228527 #224F85 #852280 #855822
square
#228527 #224F85 #852280 #855822
split-complementary
#228527 #582285 #85224F
monochromatic
#09240A #165419 #228527 #2EB635 #4FD256

Accessibility & contrast

On white

4.72
#228527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#228527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228527
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228527#FFFFFF#000000##FFFFFF
##2285271.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887819
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228527;
/* rgb */ color: rgb(34, 133, 39);
/* oklch */ color: oklch(54.1% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ea966',
    500: '#228527',
    950: '#000000',
  },
}
SCSS
$custom: #228527;
$custom-light: #6ea966;
$custom-dark: #000000;
JSON
{
  "hex": "#228527",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 123.03,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.15837,
    "h": 143.6
  },
  "luminance": 0.17262
}

Semantic roles & 50–950 ramp

primary
#228527
secondary
#B64DB0
accent
#45DBE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228527

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

Preview Lab → · Contrast checker → · Palette generator →

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