#417820#417820

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

Color values

HEX#417820
RGBrgb(65, 120, 32)
HSLhsl(98, 58%, 30%)
HSVhsv(98, 73%, 47%)
CMYKcmyk(45.8%, 0%, 73.3%, 52.9%)
CIE-LABlab(45.17, -34.43, 40.60)
CIE-LCHlch(45.17, 53.23, 130.30°)
OKLaboklab(51.58% -0.0957 0.092)
OKLCHoklch(51.58% 0.133 136.1)
XYZxyz(9.1569, 14.6605, 3.7135)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417820 #572078
analogous
#6D7820 #417820 #20782B
triadic
#417820 #204178 #782041
tetradic
#417820 #206D78 #572078 #782B20
square
#417820 #206D78 #572078 #782B20
split-complementary
#417820 #2B2078 #78206D
monochromatic
#0D1806 #274813 #417820 #5BA82D #78CD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##417820#FFFFFF#000000##FFFFFF
##4178201.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)
#7C6E12
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#3F7367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #417820;
/* rgb */ color: rgb(65, 120, 32);
/* oklch */ color: oklch(51.6% 0.133 136.1);
Tailwind
colors: {
  custom: {
    50: '#7b9f61',
    500: '#417820',
    950: '#000000',
  },
}
SCSS
$custom: #417820;
$custom-light: #7b9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#417820",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 97.5,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.13276,
    "h": 136.1
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#417820
secondary
#8648AB
accent
#47E1A7
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #417820

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

Preview Lab → · Contrast checker → · Palette generator →

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