#476B15#476B15

#476B15 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.119 H 130.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#476B15
RGBrgb(71, 107, 21)
HSLhsl(85, 67%, 25%)
HSVhsv(85, 80%, 42%)
CMYKcmyk(33.6%, 0%, 80.4%, 58%)
CIE-LABlab(41.07, -26.95, 40.90)
CIE-LCHlch(41.07, 48.98, 123.38°)
OKLaboklab(48.29% -0.0767 0.0908)
OKLCHoklch(48.29% 0.119 130.2)
XYZxyz(7.9915, 11.9089, 2.5869)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B15 #39156B
analogous
#6B6415 #476B15 #1C6B15
triadic
#476B15 #15476B #6B1547
tetradic
#476B15 #156B64 #39156B #6B151C
square
#476B15 #156B64 #39156B #6B151C
split-complementary
#476B15 #151C6B #64156B
monochromatic
#111A05 #25380B #476B15 #699E1F #8BD129

Accessibility & contrast

On white

6.21
#476B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#476B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B15
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B15#FFFFFF#000000##FFFFFF
##476B151.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706302
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b15;
/* rgb */ color: rgb(71, 107, 21);
/* oklch */ color: oklch(48.3% 0.119 130.2);
Tailwind
colors: {
  custom: {
    50: '#7e955a',
    500: '#476b15',
    950: '#000000',
  },
}
SCSS
$custom: #476b15;
$custom-light: #7e955a;
$custom-dark: #000000;
JSON
{
  "hex": "#476b15",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 85.116,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.11886,
    "h": 130.2
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#476B15
secondary
#653AA2
accent
#3EEA86
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B15

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

Preview Lab → · Contrast checker → · Palette generator →

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