#417B25#417B25

#417B25 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.133 H 137.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#417B25
RGBrgb(65, 123, 37)
HSLhsl(100, 54%, 31%)
HSVhsv(100, 70%, 48%)
CMYKcmyk(47.2%, 0%, 69.9%, 51.8%)
CIE-LABlab(46.21, -35.31, 39.57)
CIE-LCHlch(46.21, 53.03, 131.75°)
OKLaboklab(52.44% -0.0977 0.0905)
OKLCHoklch(52.44% 0.133 137.2)
XYZxyz(9.5966, 15.4227, 4.2211)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B25 #5F257B
analogous
#6C7B25 #417B25 #257B34
triadic
#417B25 #25417B #7B2541
tetradic
#417B25 #256C7B #5F257B #7B3425
square
#417B25 #256C7B #5F257B #7B3425
split-complementary
#417B25 #34257B #7B256C
monochromatic
#0F1D09 #284C17 #417B25 #5AAA33 #78CA50

Accessibility & contrast

On white

5.14
#417B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#417B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B25
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B25#FFFFFF#000000##FFFFFF
##417B251.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7119
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#3E776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b25;
/* rgb */ color: rgb(65, 123, 37);
/* oklch */ color: oklch(52.4% 0.133 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ba264',
    500: '#417b25',
    950: '#000000',
  },
}
SCSS
$custom: #417b25;
$custom-light: #7ba264;
$custom-dark: #000000;
JSON
{
  "hex": "#417b25",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 100.465,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.13322,
    "h": 137.2
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#417B25
secondary
#8E4FAD
accent
#4BDDAD
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B25

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

Preview Lab → · Contrast checker → · Palette generator →

#417B25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva