#228125#228125

#228125 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.155 H 143.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#228125
RGBrgb(34, 129, 37)
HSLhsl(122, 58%, 32%)
HSVhsv(122, 74%, 51%)
CMYKcmyk(73.6%, 0%, 71.3%, 49.4%)
CIE-LABlab(47.20, -45.85, 40.31)
CIE-LCHlch(47.20, 61.05, 138.68°)
OKLaboklab(52.97% -0.1243 0.0924)
OKLCHoklch(52.97% 0.155 143.4)
XYZxyz(8.8433, 16.1732, 4.4056)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228125 #81227E
analogous
#4F8122 #228125 #228155
triadic
#228125 #252281 #812522
tetradic
#228125 #224F81 #81227E #815522
square
#228125 #224F81 #81227E #815522
split-complementary
#228125 #552281 #81224F
monochromatic
#082009 #155117 #228125 #2FB133 #4DD051

Accessibility & contrast

On white

4.96
#228125 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#228125 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228125
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228125#FFFFFF#000000##FFFFFF
##2281251.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847517
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228125;
/* rgb */ color: rgb(34, 129, 37);
/* oklch */ color: oklch(53.0% 0.155 143.4);
Tailwind
colors: {
  custom: {
    50: '#6da765',
    500: '#228125',
    950: '#000000',
  },
}
SCSS
$custom: #228125;
$custom-light: #6da765;
$custom-dark: #000000;
JSON
{
  "hex": "#228125",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 37
  },
  "hsl": {
    "h": 121.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.15489,
    "h": 143.4
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#228125
secondary
#B34BB0
accent
#46DDE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228125

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

Preview Lab → · Contrast checker → · Palette generator →

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