#476317#476317

#476317 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.1% C 0.107 H 127.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#476317
RGBrgb(71, 99, 23)
HSLhsl(82, 62%, 24%)
HSVhsv(82, 77%, 39%)
CMYKcmyk(28.3%, 0%, 76.8%, 61.2%)
CIE-LABlab(38.42, -22.86, 37.57)
CIE-LCHlch(38.42, 43.98, 121.32°)
OKLaboklab(46.14% -0.0654 0.0841)
OKLCHoklch(46.14% 0.107 127.9)
XYZxyz(7.2150, 10.3250, 2.4232)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476317 #331763
analogous
#635917 #476317 #216317
triadic
#476317 #174763 #631747
tetradic
#476317 #176359 #331763 #631721
square
#476317 #176359 #331763 #631721
split-complementary
#476317 #172163 #591763
monochromatic
#121906 #23310B #476317 #6B9523 #8EC62E

Accessibility & contrast

On white

6.85
#476317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#476317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476317
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476317#FFFFFF#000000##FFFFFF
##4763171.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#4A5E54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476317;
/* rgb */ color: rgb(71, 99, 23);
/* oklch */ color: oklch(46.1% 0.107 127.9);
Tailwind
colors: {
  custom: {
    50: '#7d8f5a',
    500: '#476317',
    950: '#000000',
  },
}
SCSS
$custom: #476317;
$custom-light: #7d8f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476317",
  "rgb": {
    "r": 71,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 82.105,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.10658,
    "h": 127.9
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#476317
secondary
#5F3C9A
accent
#42E57E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476317

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

Preview Lab → · Contrast checker → · Palette generator →

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