#228F25#228F25

#228F25 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.172 H 143.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228F25
RGBrgb(34, 143, 37)
HSLhsl(122, 62%, 35%)
HSVhsv(122, 76%, 56%)
CMYKcmyk(76.2%, 0%, 74.1%, 43.9%)
CIE-LABlab(51.97, -50.68, 45.27)
CIE-LCHlch(51.97, 67.96, 138.23°)
OKLaboklab(56.93% -0.1374 0.1028)
OKLCHoklch(56.93% 0.172 143.2)
XYZxyz(10.8154, 20.1173, 5.0629)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F25 #8F228C
analogous
#568F22 #228F25 #228F5B
triadic
#228F25 #25228F #8F2522
tetradic
#228F25 #22568F #8F228C #8F5B22
square
#228F25 #22568F #8F228C #8F5B22
split-complementary
#228F25 #5B228F #8F2256
monochromatic
#0A2C0B #165E18 #228F25 #2EC032 #55D758

Accessibility & contrast

On white

4.18
#228F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#228F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F25
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F25#FFFFFF#000000##000000
##228F251.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f25;
/* rgb */ color: rgb(34, 143, 37);
/* oklch */ color: oklch(56.9% 0.172 143.2);
Tailwind
colors: {
  custom: {
    50: '#70b166',
    500: '#228f25',
    950: '#000000',
  },
}
SCSS
$custom: #228f25;
$custom-light: #70b166;
$custom-dark: #000000;
JSON
{
  "hex": "#228f25",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 121.651,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.1716,
    "h": 143.2
  },
  "luminance": 0.20119
}

Semantic roles & 50–950 ramp

primary
#228F25
secondary
#BA52B8
accent
#43E0E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #228F25

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

Preview Lab → · Contrast checker → · Palette generator →

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