#228524#228524

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

Color values

HEX#228524
RGBrgb(34, 133, 36)
HSLhsl(121, 59%, 33%)
HSVhsv(121, 74%, 52%)
CMYKcmyk(74.4%, 0%, 72.9%, 47.8%)
CIE-LABlab(48.56, -47.35, 42.15)
CIE-LCHlch(48.56, 63.39, 138.32°)
OKLaboklab(54.1% -0.1284 0.0961)
OKLCHoklch(54.1% 0.16 143.2)
XYZxyz(9.3651, 17.2415, 4.5031)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228524 #852283
analogous
#518522 #228524 #228555
triadic
#228524 #242285 #852422
tetradic
#228524 #225185 #852283 #855522
square
#228524 #225185 #852283 #855522
split-complementary
#228524 #552285 #852251
monochromatic
#09240A #165417 #228524 #2EB631 #4FD252

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228524#FFFFFF#000000##FFFFFF
##2285241.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)
#887814
Deuteranopia (green-blind)
#7D702E
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228524;
/* rgb */ color: rgb(34, 133, 36);
/* oklch */ color: oklch(54.1% 0.160 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea965',
    500: '#228524',
    950: '#000000',
  },
}
SCSS
$custom: #228524;
$custom-light: #6ea965;
$custom-dark: #000000;
JSON
{
  "hex": "#228524",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 121.212,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.541,
    "c": 0.16042,
    "h": 143.2
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#228524
secondary
#B64DB3
accent
#45DFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228524

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

Preview Lab → · Contrast checker → · Palette generator →

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