#228525#228525

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

Color values

HEX#228525
RGBrgb(34, 133, 37)
HSLhsl(122, 59%, 33%)
HSVhsv(122, 74%, 52%)
CMYKcmyk(74.4%, 0%, 72.2%, 47.8%)
CIE-LABlab(48.57, -47.26, 41.75)
CIE-LCHlch(48.57, 63.06, 138.54°)
OKLaboklab(54.11% -0.1281 0.0954)
OKLCHoklch(54.11% 0.16 143.3)
XYZxyz(9.3806, 17.2477, 4.5847)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228525 #852282
analogous
#518522 #228525 #228556
triadic
#228525 #252285 #852522
tetradic
#228525 #225185 #852282 #855622
square
#228525 #225185 #852282 #855622
split-complementary
#228525 #562285 #852251
monochromatic
#09240A #165417 #228525 #2EB633 #4FD253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #228525;
/* rgb */ color: rgb(34, 133, 37);
/* oklch */ color: oklch(54.1% 0.160 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea965',
    500: '#228525',
    950: '#000000',
  },
}
SCSS
$custom: #228525;
$custom-light: #6ea965;
$custom-dark: #000000;
JSON
{
  "hex": "#228525",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 121.818,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.15975,
    "h": 143.3
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#228525
secondary
#B64DB2
accent
#45DEE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228525

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

Preview Lab → · Contrast checker → · Palette generator →

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