#476C15#476C15

#476C15 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.120 H 130.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#476C15
RGBrgb(71, 108, 21)
HSLhsl(86, 67%, 25%)
HSVhsv(86, 81%, 42%)
CMYKcmyk(34.3%, 0%, 80.6%, 57.6%)
CIE-LABlab(41.40, -27.43, 41.22)
CIE-LCHlch(41.40, 49.51, 123.64°)
OKLaboklab(48.56% -0.078 0.0914)
OKLCHoklch(48.56% 0.12 130.5)
XYZxyz(8.0964, 12.1186, 2.6219)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C15 #3A156C
analogous
#6C6515 #476C15 #1C6C15
triadic
#476C15 #15476C #6C1547
tetradic
#476C15 #156C65 #3A156C #6C151C
square
#476C15 #156C65 #3A156C #6C151C
split-complementary
#476C15 #151C6C #65156C
monochromatic
#111A05 #25390B #476C15 #699F1F #8AD229

Accessibility & contrast

On white

6.13
#476C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#476C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476C15
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476C15#FFFFFF#000000##FFFFFF
##476C151.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716301
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#49675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c15;
/* rgb */ color: rgb(71, 108, 21);
/* oklch */ color: oklch(48.6% 0.120 130.5);
Tailwind
colors: {
  custom: {
    50: '#7e965a',
    500: '#476c15',
    950: '#000000',
  },
}
SCSS
$custom: #476c15;
$custom-light: #7e965a;
$custom-dark: #000000;
JSON
{
  "hex": "#476c15",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 85.517,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.12021,
    "h": 130.5
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#476C15
secondary
#673AA3
accent
#3DEA87
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476C15

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

Preview Lab → · Contrast checker → · Palette generator →

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