#476417#476417

#476417 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.4% C 0.108 H 128.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#476417
RGBrgb(71, 100, 23)
HSLhsl(83, 63%, 24%)
HSVhsv(83, 77%, 39%)
CMYKcmyk(29%, 0%, 77%, 60.8%)
CIE-LABlab(38.75, -23.37, 37.90)
CIE-LCHlch(38.75, 44.52, 121.65°)
OKLaboklab(46.41% -0.0668 0.0848)
OKLCHoklch(46.41% 0.108 128.2)
XYZxyz(7.3104, 10.5156, 2.4550)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476417 #341764
analogous
#645B17 #476417 #216417
triadic
#476417 #174764 #641747
tetradic
#476417 #17645B #341764 #641721
square
#476417 #17645B #341764 #641721
split-complementary
#476417 #172164 #5B1764
monochromatic
#121906 #24320C #476417 #6A9622 #8EC82E

Accessibility & contrast

On white

6.77
#476417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#476417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476417
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476417#FFFFFF#000000##FFFFFF
##4764171.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D09
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#4A5F55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #476417;
/* rgb */ color: rgb(71, 100, 23);
/* oklch */ color: oklch(46.4% 0.108 128.2);
Tailwind
colors: {
  custom: {
    50: '#7d905a',
    500: '#476417',
    950: '#000000',
  },
}
SCSS
$custom: #476417;
$custom-light: #7d905a;
$custom-dark: #000000;
JSON
{
  "hex": "#476417",
  "rgb": {
    "r": 71,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 82.597,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.10798,
    "h": 128.2
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#476417
secondary
#603C9A
accent
#42E680
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476417

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

Preview Lab → · Contrast checker → · Palette generator →

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