#228425#228425

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

Color values

HEX#228425
RGBrgb(34, 132, 37)
HSLhsl(122, 59%, 33%)
HSVhsv(122, 74%, 52%)
CMYKcmyk(74.2%, 0%, 72%, 48.2%)
CIE-LABlab(48.23, -46.91, 41.39)
CIE-LCHlch(48.23, 62.56, 138.57°)
OKLaboklab(53.83% -0.1272 0.0947)
OKLCHoklch(53.83% 0.159 143.3)
XYZxyz(9.2443, 16.9751, 4.5392)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228425 #842281
analogous
#508422 #228425 #228456
triadic
#228425 #252284 #842522
tetradic
#228425 #225084 #842281 #845622
square
#228425 #225084 #842281 #845622
split-complementary
#228425 #562284 #842250
monochromatic
#09230A #155317 #228425 #2FB533 #4FD253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228425#FFFFFF#000000##FFFFFF
##2284251.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)
#877717
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228425;
/* rgb */ color: rgb(34, 132, 37);
/* oklch */ color: oklch(53.8% 0.159 143.3);
Tailwind
colors: {
  custom: {
    50: '#6da965',
    500: '#228425',
    950: '#000000',
  },
}
SCSS
$custom: #228425;
$custom-light: #6da965;
$custom-dark: #000000;
JSON
{
  "hex": "#228425",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 37
  },
  "hsl": {
    "h": 121.837,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53825,
    "c": 0.15854,
    "h": 143.3
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#228425
secondary
#B54DB2
accent
#46DDE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228425

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

Preview Lab → · Contrast checker → · Palette generator →

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