#476617#476617

#476617 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.9% C 0.111 H 128.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#476617
RGBrgb(71, 102, 23)
HSLhsl(84, 63%, 25%)
HSVhsv(84, 77%, 40%)
CMYKcmyk(30.4%, 0%, 77.5%, 60%)
CIE-LABlab(39.42, -24.37, 38.56)
CIE-LCHlch(39.42, 45.61, 122.30°)
OKLaboklab(46.95% -0.0696 0.0862)
OKLCHoklch(46.95% 0.111 128.9)
XYZxyz(7.5045, 10.9040, 2.5197)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476617 #361766
analogous
#665E17 #476617 #206617
triadic
#476617 #174766 #661747
tetradic
#476617 #17665E #361766 #661720
square
#476617 #17665E #361766 #661720
split-complementary
#476617 #172066 #5E1766
monochromatic
#111906 #24340C #476617 #6A9822 #8DCA2E

Accessibility & contrast

On white

6.60
#476617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#476617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476617
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476617#FFFFFF#000000##FFFFFF
##4766171.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#496157
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #476617;
/* rgb */ color: rgb(71, 102, 23);
/* oklch */ color: oklch(46.9% 0.111 128.9);
Tailwind
colors: {
  custom: {
    50: '#7d925a',
    500: '#476617',
    950: '#000000',
  },
}
SCSS
$custom: #476617;
$custom-light: #7d925a;
$custom-dark: #000000;
JSON
{
  "hex": "#476617",
  "rgb": {
    "r": 71,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 83.544,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.11076,
    "h": 128.9
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#476617
secondary
#623C9C
accent
#42E682
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #476617

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

Preview Lab → · Contrast checker → · Palette generator →

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