#417822#417822

#417822 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.131 H 136.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#417822
RGBrgb(65, 120, 34)
HSLhsl(98, 56%, 30%)
HSVhsv(98, 72%, 47%)
CMYKcmyk(45.8%, 0%, 71.7%, 52.9%)
CIE-LABlab(45.18, -34.27, 39.78)
CIE-LCHlch(45.18, 52.50, 130.74°)
OKLaboklab(51.59% -0.0951 0.0906)
OKLCHoklch(51.59% 0.131 136.4)
XYZxyz(9.1849, 14.6717, 3.8610)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417822 #592278
analogous
#6C7822 #417822 #22782E
triadic
#417822 #224178 #782241
tetradic
#417822 #226C78 #592278 #782E22
square
#417822 #226C78 #592278 #782E22
split-complementary
#417822 #2E2278 #78226C
monochromatic
#0D1907 #274814 #417822 #5BA830 #78CB49

Accessibility & contrast

On white

5.34
#417822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#417822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417822
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417822#FFFFFF#000000##FFFFFF
##4178221.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#3F7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #417822;
/* rgb */ color: rgb(65, 120, 34);
/* oklch */ color: oklch(51.6% 0.131 136.4);
Tailwind
colors: {
  custom: {
    50: '#7b9f62',
    500: '#417822',
    950: '#000000',
  },
}
SCSS
$custom: #417822;
$custom-light: #7b9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#417822",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 98.372,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.13134,
    "h": 136.4
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#417822
secondary
#884BAB
accent
#49DFA9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #417822

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

Preview Lab → · Contrast checker → · Palette generator →

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