#476D15#476D15

#476D15 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.8% C 0.122 H 130.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#476D15
RGBrgb(71, 109, 21)
HSLhsl(86, 68%, 25%)
HSVhsv(86, 81%, 43%)
CMYKcmyk(34.9%, 0%, 80.7%, 57.3%)
CIE-LABlab(41.74, -27.91, 41.53)
CIE-LCHlch(41.74, 50.04, 123.90°)
OKLaboklab(48.83% -0.0793 0.0921)
OKLCHoklch(48.83% 0.122 130.7)
XYZxyz(8.2025, 12.3307, 2.6572)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D15 #3B156D
analogous
#6D6715 #476D15 #1B6D15
triadic
#476D15 #15476D #6D1547
tetradic
#476D15 #156D67 #3B156D #6D151B
square
#476D15 #156D67 #3B156D #6D151B
split-complementary
#476D15 #151B6D #67156D
monochromatic
#111A05 #263A0B #476D15 #68A01F #8AD429

Accessibility & contrast

On white

6.06
#476D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#476D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D15
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D15#FFFFFF#000000##FFFFFF
##476D151.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#49685D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476d15;
/* rgb */ color: rgb(71, 109, 21);
/* oklch */ color: oklch(48.8% 0.122 130.7);
Tailwind
colors: {
  custom: {
    50: '#7e975a',
    500: '#476d15',
    950: '#000000',
  },
}
SCSS
$custom: #476d15;
$custom-light: #7e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#476d15",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 85.909,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.12156,
    "h": 130.7
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#476D15
secondary
#683AA3
accent
#3DEB88
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476D15

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

Preview Lab → · Contrast checker → · Palette generator →

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