#417B2C#417B2C

#417B2C is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.5% C 0.128 H 138.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#417B2C
RGBrgb(65, 123, 44)
HSLhsl(104, 47%, 33%)
HSVhsv(104, 64%, 48%)
CMYKcmyk(47.2%, 0%, 64.2%, 51.8%)
CIE-LABlab(46.27, -34.62, 36.44)
CIE-LCHlch(46.27, 50.26, 133.53°)
OKLaboklab(52.52% -0.0953 0.0848)
OKLCHoklch(52.52% 0.128 138.4)
XYZxyz(9.7172, 15.4710, 4.8565)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B2C #662C7B
analogous
#687B2C #417B2C #2C7B3F
triadic
#417B2C #2C417B #7B2C41
tetradic
#417B2C #2C687B #662C7B #7B3F2C
square
#417B2C #2C687B #662C7B #7B3F2C
split-complementary
#417B2C #3F2C7B #7B2C68
monochromatic
#11210C #294E1C #417B2C #59A83C #78C55D

Accessibility & contrast

On white

5.13
#417B2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#417B2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417B2C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417B2C#FFFFFF#000000##FFFFFF
##417B2C1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#3D776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #417b2c;
/* rgb */ color: rgb(65, 123, 44);
/* oklch */ color: oklch(52.5% 0.128 138.4);
Tailwind
colors: {
  custom: {
    50: '#7ba268',
    500: '#417b2c',
    950: '#000000',
  },
}
SCSS
$custom: #417b2c;
$custom-light: #7ba268;
$custom-dark: #000000;
JSON
{
  "hex": "#417b2c",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 104.051,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.12759,
    "h": 138.4
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#417B2C
secondary
#9558AB
accent
#51D7B3
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #417B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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