#416217#416217

#416217 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.109 H 130.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#416217
RGBrgb(65, 98, 23)
HSLhsl(86, 62%, 24%)
HSVhsv(86, 77%, 38%)
CMYKcmyk(33.7%, 0%, 76.5%, 61.6%)
CIE-LABlab(37.70, -24.90, 36.73)
CIE-LCHlch(37.70, 44.37, 124.13°)
OKLaboklab(45.45% -0.0706 0.0825)
OKLCHoklch(45.45% 0.109 130.5)
XYZxyz(6.7023, 9.9208, 2.3722)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#416217 #381762
analogous
#625D17 #416217 #1B6217
triadic
#416217 #174162 #621741
tetradic
#416217 #17625D #381762 #62171B
square
#416217 #17625D #381762 #62171B
split-complementary
#416217 #171B62 #5D1762
monochromatic
#101906 #20300B #416217 #629423 #83C52E

Accessibility & contrast

On white

7.04
#416217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#416217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #416217
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##416217#FFFFFF#000000##FFFFFF
##4162171.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A0A
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#435E53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #416217;
/* rgb */ color: rgb(65, 98, 23);
/* oklch */ color: oklch(45.5% 0.109 130.5);
Tailwind
colors: {
  custom: {
    50: '#798f5a',
    500: '#416217',
    950: '#000000',
  },
}
SCSS
$custom: #416217;
$custom-light: #798f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#416217",
  "rgb": {
    "r": 65,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 86.4,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.10857,
    "h": 130.5
  },
  "luminance": 0.09921
}

Semantic roles & 50–950 ramp

primary
#416217
secondary
#653C99
accent
#43E58A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #416217

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

Preview Lab → · Contrast checker → · Palette generator →

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