#476E17#476E17

#476E17 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.122 H 131.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#476E17
RGBrgb(71, 110, 23)
HSLhsl(87, 65%, 26%)
HSVhsv(87, 79%, 43%)
CMYKcmyk(35.5%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.08, -28.27, 41.15)
CIE-LCHlch(42.08, 49.92, 124.49°)
OKLaboklab(49.12% -0.0801 0.0916)
OKLCHoklch(49.12% 0.122 131.2)
XYZxyz(8.3290, 12.5530, 2.7946)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E17 #3E176E
analogous
#6E6917 #476E17 #1B6E17
triadic
#476E17 #17476E #6E1747
tetradic
#476E17 #176E69 #3E176E #6E171B
square
#476E17 #176E69 #3E176E #6E171B
split-complementary
#476E17 #171B6E #69176E
monochromatic
#101905 #263B0C #476E17 #68A122 #88D32C

Accessibility & contrast

On white

5.98
#476E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#476E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E17
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E17#FFFFFF#000000##FFFFFF
##476E171.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#48695E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e17;
/* rgb */ color: rgb(71, 110, 23);
/* oklch */ color: oklch(49.1% 0.122 131.2);
Tailwind
colors: {
  custom: {
    50: '#7e985b',
    500: '#476e17',
    950: '#000000',
  },
}
SCSS
$custom: #476e17;
$custom-light: #7e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#476e17",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 86.897,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4912,
    "c": 0.12172,
    "h": 131.2
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#476E17
secondary
#6B3DA4
accent
#3FE88B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E17

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

Preview Lab → · Contrast checker → · Palette generator →

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