#217F25#217F25

#217F25 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.153 H 143.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#217F25
RGBrgb(33, 127, 37)
HSLhsl(123, 59%, 31%)
HSVhsv(123, 74%, 50%)
CMYKcmyk(74%, 0%, 70.9%, 50.2%)
CIE-LABlab(46.49, -45.33, 39.55)
CIE-LCHlch(46.49, 60.15, 138.90°)
OKLaboklab(52.38% -0.1228 0.0908)
OKLCHoklch(52.38% 0.153 143.5)
XYZxyz(8.5500, 15.6347, 4.3171)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F25 #7F217B
analogous
#4C7F21 #217F25 #217F54
triadic
#217F25 #25217F #7F2521
tetradic
#217F25 #214C7F #7F217B #7F5421
square
#217F25 #214C7F #7F217B #7F5421
split-complementary
#217F25 #54217F #7F214C
monochromatic
#081E09 #144E17 #217F25 #2EB033 #4AD050

Accessibility & contrast

On white

5.09
#217F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F25
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F25#FFFFFF#000000##FFFFFF
##217F251.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#776B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f25;
/* rgb */ color: rgb(33, 127, 37);
/* oklch */ color: oklch(52.4% 0.153 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ca565',
    500: '#217f25',
    950: '#000000',
  },
}
SCSS
$custom: #217f25;
$custom-light: #6ca565;
$custom-dark: #000000;
JSON
{
  "hex": "#217f25",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 122.553,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.15275,
    "h": 143.5
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#217F25
secondary
#B24AAD
accent
#46DBE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217F25

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

Preview Lab → · Contrast checker → · Palette generator →

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