#476A17#476A17

#476A17 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.116 H 130.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#476A17
RGBrgb(71, 106, 23)
HSLhsl(85, 64%, 25%)
HSVhsv(85, 78%, 42%)
CMYKcmyk(33%, 0%, 78.3%, 58.4%)
CIE-LABlab(40.75, -26.34, 39.86)
CIE-LCHlch(40.75, 47.77, 123.46°)
OKLaboklab(48.03% -0.0749 0.0889)
OKLCHoklch(48.03% 0.116 130.1)
XYZxyz(7.9072, 11.7093, 2.6540)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A17 #3A176A
analogous
#6A6317 #476A17 #1E6A17
triadic
#476A17 #17476A #6A1747
tetradic
#476A17 #176A63 #3A176A #6A171E
square
#476A17 #176A63 #3A176A #6A171E
split-complementary
#476A17 #171E6A #63176A
monochromatic
#111905 #25380C #476A17 #699C22 #8ACF2D

Accessibility & contrast

On white

6.28
#476A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#476A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A17
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A17#FFFFFF#000000##FFFFFF
##476A171.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a17;
/* rgb */ color: rgb(71, 106, 23);
/* oklch */ color: oklch(48.0% 0.116 130.1);
Tailwind
colors: {
  custom: {
    50: '#7e955b',
    500: '#476a17',
    950: '#000000',
  },
}
SCSS
$custom: #476a17;
$custom-light: #7e955b;
$custom-dark: #000000;
JSON
{
  "hex": "#476a17",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 85.301,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.11627,
    "h": 130.1
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#476A17
secondary
#673DA0
accent
#40E787
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A17

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

Preview Lab → · Contrast checker → · Palette generator →

#476A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva