#476A15#476A15

#476A15 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.118 H 129.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#476A15
RGBrgb(71, 106, 21)
HSLhsl(85, 67%, 25%)
HSVhsv(85, 80%, 42%)
CMYKcmyk(33%, 0%, 80.2%, 58.4%)
CIE-LABlab(40.74, -26.47, 40.58)
CIE-LCHlch(40.74, 48.45, 123.11°)
OKLaboklab(48.02% -0.0754 0.0901)
OKLCHoklch(48.02% 0.118 129.9)
XYZxyz(7.8879, 11.7016, 2.5524)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A15 #38156A
analogous
#6A6315 #476A15 #1C6A15
triadic
#476A15 #15476A #6A1547
tetradic
#476A15 #156A63 #38156A #6A151C
square
#476A15 #156A63 #38156A #6A151C
split-complementary
#476A15 #151C6A #63156A
monochromatic
#111A05 #25370B #476A15 #699D1F #8BD029

Accessibility & contrast

On white

6.29
#476A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#476A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A15
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A15#FFFFFF#000000##FFFFFF
##476A151.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6202
Deuteranopia (green-blind)
#6A5F1E
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a15;
/* rgb */ color: rgb(71, 106, 21);
/* oklch */ color: oklch(48.0% 0.118 129.9);
Tailwind
colors: {
  custom: {
    50: '#7e955a',
    500: '#476a15',
    950: '#000000',
  },
}
SCSS
$custom: #476a15;
$custom-light: #7e955a;
$custom-dark: #000000;
JSON
{
  "hex": "#476a15",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 84.706,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.11751,
    "h": 129.9
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#476A15
secondary
#643AA1
accent
#3EEA85
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A15

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

Preview Lab → · Contrast checker → · Palette generator →

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