#476A24#476A24

#476A24 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.106 H 131.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#476A24
RGBrgb(71, 106, 36)
HSLhsl(90, 49%, 28%)
HSVhsv(90, 66%, 42%)
CMYKcmyk(33%, 0%, 66%, 58.4%)
CIE-LABlab(40.86, -25.30, 34.34)
CIE-LCHlch(40.86, 42.65, 126.38°)
OKLaboklab(48.15% -0.0709 0.0793)
OKLCHoklch(48.15% 0.106 131.8)
XYZxyz(8.0709, 11.7748, 3.5162)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A24 #47246A
analogous
#6A6A24 #476A24 #246A24
triadic
#476A24 #24476A #6A2447
tetradic
#476A24 #246A6A #47246A #6A2424
square
#476A24 #246A6A #47246A #6A2424
split-complementary
#476A24 #24246A #6A246A
monochromatic
#0F1708 #283C14 #476A24 #669834 #84C148

Accessibility & contrast

On white

6.26
#476A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#476A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A24
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A24#FFFFFF#000000##FFFFFF
##476A241.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621C
Deuteranopia (green-blind)
#6A5F29
Tritanopia (blue-blind)
#48665B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a24;
/* rgb */ color: rgb(71, 106, 36);
/* oklch */ color: oklch(48.2% 0.106 131.8);
Tailwind
colors: {
  custom: {
    50: '#7d9562',
    500: '#476a24',
    950: '#000000',
  },
}
SCSS
$custom: #476a24;
$custom-light: #7d9562;
$custom-dark: #000000;
JSON
{
  "hex": "#476a24",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 36
  },
  "hsl": {
    "h": 90,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.10639,
    "h": 131.8
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#476A24
secondary
#754D9D
accent
#4FD994
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476A24

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

Preview Lab → · Contrast checker → · Palette generator →

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