#417225#417225

#417225 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.0% C 0.121 H 136.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#417225
RGBrgb(65, 114, 37)
HSLhsl(98, 51%, 30%)
HSVhsv(98, 68%, 45%)
CMYKcmyk(43%, 0%, 67.5%, 55.3%)
CIE-LABlab(43.20, -31.30, 36.33)
CIE-LCHlch(43.20, 47.96, 130.75°)
OKLaboklab(49.98% -0.0868 0.0837)
OKLCHoklch(49.98% 0.121 136)
XYZxyz(8.5310, 13.2916, 3.8659)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417225 #562572
analogous
#687225 #417225 #257230
triadic
#417225 #254172 #722541
tetradic
#417225 #256872 #562572 #723025
square
#417225 #256872 #562572 #723025
split-complementary
#417225 #302572 #722568
monochromatic
#0D1707 #274416 #417225 #5BA034 #78C54C

Accessibility & contrast

On white

5.74
#417225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#417225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417225
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417225#FFFFFF#000000##FFFFFF
##4172251.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691B
Deuteranopia (green-blind)
#6F652B
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417225;
/* rgb */ color: rgb(65, 114, 37);
/* oklch */ color: oklch(50.0% 0.121 136.0);
Tailwind
colors: {
  custom: {
    50: '#7a9b63',
    500: '#417225',
    950: '#000000',
  },
}
SCSS
$custom: #417225;
$custom-light: #7a9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#417225",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 98.182,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.12063,
    "h": 136
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#417225
secondary
#854EA5
accent
#4DDAA7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #417225

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

Preview Lab → · Contrast checker → · Palette generator →

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