#417816#417816

#417816 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.5% C 0.139 H 135.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#417816
RGBrgb(65, 120, 22)
HSLhsl(94, 69%, 28%)
HSVhsv(94, 82%, 47%)
CMYKcmyk(45.8%, 0%, 81.7%, 52.9%)
CIE-LABlab(45.10, -35.12, 44.25)
CIE-LCHlch(45.10, 56.50, 128.44°)
OKLaboklab(51.5% -0.0983 0.0981)
OKLCHoklch(51.5% 0.139 135.1)
XYZxyz(9.0411, 14.6142, 3.1033)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417816 #4D1678
analogous
#727816 #417816 #16781C
triadic
#417816 #164178 #781641
tetradic
#417816 #167278 #4D1678 #781C16
square
#417816 #167278 #4D1678 #781C16
split-complementary
#417816 #1C1678 #781672
monochromatic
#0E1A05 #25440D #417816 #5DAC1F #7AD92F

Accessibility & contrast

On white

5.35
#417816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#417816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417816
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417816#FFFFFF#000000##FFFFFF
##4178161.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#407366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #417816;
/* rgb */ color: rgb(65, 120, 22);
/* oklch */ color: oklch(51.5% 0.139 135.1);
Tailwind
colors: {
  custom: {
    50: '#7b9f5c',
    500: '#417816',
    950: '#000000',
  },
}
SCSS
$custom: #417816;
$custom-light: #7b9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#417816",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 93.673,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51503,
    "c": 0.13888,
    "h": 135.1
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#417816
secondary
#7C3CAD
accent
#3CEC9F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #417816

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

Preview Lab → · Contrast checker → · Palette generator →

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