#228D25#228D25

#228D25 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.169 H 143.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#228D25
RGBrgb(34, 141, 37)
HSLhsl(122, 61%, 34%)
HSVhsv(122, 76%, 55%)
CMYKcmyk(75.9%, 0%, 73.8%, 44.7%)
CIE-LABlab(51.29, -50.01, 44.58)
CIE-LCHlch(51.29, 66.99, 138.29°)
OKLaboklab(56.37% -0.1356 0.1013)
OKLCHoklch(56.37% 0.169 143.2)
XYZxyz(10.5178, 19.5222, 4.9638)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D25 #8D228A
analogous
#558D22 #228D25 #228D5B
triadic
#228D25 #25228D #8D2522
tetradic
#228D25 #22558D #8D228A #8D5B22
square
#228D25 #22558D #8D228A #8D5B22
split-complementary
#228D25 #5B228D #8D2255
monochromatic
#0A2A0B #165C18 #228D25 #2EBE32 #54D657

Accessibility & contrast

On white

4.28
#228D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#228D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D25
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D25#FFFFFF#000000##000000
##228D251.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d25;
/* rgb */ color: rgb(34, 141, 37);
/* oklch */ color: oklch(56.4% 0.169 143.2);
Tailwind
colors: {
  custom: {
    50: '#70af66',
    500: '#228d25',
    950: '#000000',
  },
}
SCSS
$custom: #228d25;
$custom-light: #70af66;
$custom-dark: #000000;
JSON
{
  "hex": "#228d25",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 121.682,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56368,
    "c": 0.16927,
    "h": 143.2
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#228D25
secondary
#B951B7
accent
#44E0E4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228D25

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

Preview Lab → · Contrast checker → · Palette generator →

#228D25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva