#417B23#417B23

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

Color values

HEX#417B23
RGBrgb(65, 123, 35)
HSLhsl(100, 56%, 31%)
HSVhsv(100, 72%, 48%)
CMYKcmyk(47.2%, 0%, 71.5%, 51.8%)
CIE-LABlab(46.19, -35.49, 40.41)
CIE-LCHlch(46.19, 53.78, 131.29°)
OKLaboklab(52.43% -0.0984 0.092)
OKLCHoklch(52.43% 0.135 136.9)
XYZxyz(9.5660, 15.4105, 4.0602)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417B23 #5D237B
analogous
#6D7B23 #417B23 #237B31
triadic
#417B23 #23417B #7B2341
tetradic
#417B23 #236D7B #5D237B #7B3123
square
#417B23 #236D7B #5D237B #7B3123
split-complementary
#417B23 #31237B #7B236D
monochromatic
#0F1C08 #284B15 #417B23 #5AAB31 #78CC4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417B23#FFFFFF#000000##FFFFFF
##417B231.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)
#7F7016
Deuteranopia (green-blind)
#776C2B
Tritanopia (blue-blind)
#3E7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #417b23;
/* rgb */ color: rgb(65, 123, 35);
/* oklch */ color: oklch(52.4% 0.135 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba263',
    500: '#417b23',
    950: '#000000',
  },
}
SCSS
$custom: #417b23;
$custom-light: #7ba263;
$custom-dark: #000000;
JSON
{
  "hex": "#417b23",
  "rgb": {
    "r": 65,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 99.545,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.13471,
    "h": 136.9
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#417B23
secondary
#8C4CAE
accent
#49DFAC
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #417B23

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

Preview Lab → · Contrast checker → · Palette generator →

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