#417320#417320

#417320 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.126 H 135.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#417320
RGBrgb(65, 115, 32)
HSLhsl(96, 56%, 29%)
HSVhsv(96, 72%, 45%)
CMYKcmyk(43.5%, 0%, 72.2%, 54.9%)
CIE-LABlab(43.49, -32.21, 38.87)
CIE-LCHlch(43.49, 50.48, 129.65°)
OKLaboklab(50.2% -0.0897 0.0884)
OKLCHoklch(50.2% 0.126 135.4)
XYZxyz(8.5712, 13.4891, 3.5182)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417320 #522073
analogous
#6B7320 #417320 #207329
triadic
#417320 #204173 #732041
tetradic
#417320 #206B73 #522073 #732920
square
#417320 #206B73 #522073 #732920
split-complementary
#417320 #292073 #73206B
monochromatic
#0E1807 #264313 #417320 #5CA32D #79CB43

Accessibility & contrast

On white

5.68
#417320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#417320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417320
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417320#FFFFFF#000000##FFFFFF
##4173201.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#406F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #417320;
/* rgb */ color: rgb(65, 115, 32);
/* oklch */ color: oklch(50.2% 0.126 135.4);
Tailwind
colors: {
  custom: {
    50: '#7a9c61',
    500: '#417320',
    950: '#000000',
  },
}
SCSS
$custom: #417320;
$custom-light: #7a9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#417320",
  "rgb": {
    "r": 65,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 96.145,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.12593,
    "h": 135.4
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#417320
secondary
#8148A7
accent
#48E0A3
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #417320

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

Preview Lab → · Contrast checker → · Palette generator →

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