#476F17#476F17

#476F17 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.123 H 131.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#476F17
RGBrgb(71, 111, 23)
HSLhsl(87, 66%, 26%)
HSVhsv(87, 79%, 44%)
CMYKcmyk(36%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.41, -28.74, 41.47)
CIE-LCHlch(42.41, 50.45, 124.73°)
OKLaboklab(49.39% -0.0814 0.0923)
OKLCHoklch(49.39% 0.123 131.4)
XYZxyz(8.4375, 12.7700, 2.8307)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F17 #3F176F
analogous
#6F6B17 #476F17 #1B6F17
triadic
#476F17 #17476F #6F1747
tetradic
#476F17 #176F6B #3F176F #6F171B
square
#476F17 #176F6B #3F176F #6F171B
split-complementary
#476F17 #171B6F #6B176F
monochromatic
#101905 #273C0C #476F17 #67A222 #88D32D

Accessibility & contrast

On white

5.91
#476F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#476F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F17
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F17#FFFFFF#000000##FFFFFF
##476F171.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f17;
/* rgb */ color: rgb(71, 111, 23);
/* oklch */ color: oklch(49.4% 0.123 131.4);
Tailwind
colors: {
  custom: {
    50: '#7e985b',
    500: '#476f17',
    950: '#000000',
  },
}
SCSS
$custom: #476f17;
$custom-light: #7e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#476f17",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 87.273,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49391,
    "c": 0.12308,
    "h": 131.4
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#476F17
secondary
#6C3DA5
accent
#3FE98C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F17

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

Preview Lab → · Contrast checker → · Palette generator →

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