#476718#476718

#476718 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.2% C 0.111 H 129.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#476718
RGBrgb(71, 103, 24)
HSLhsl(84, 62%, 25%)
HSVhsv(84, 77%, 40%)
CMYKcmyk(31.1%, 0%, 76.7%, 59.6%)
CIE-LABlab(39.76, -24.80, 38.49)
CIE-LCHlch(39.76, 45.79, 122.79°)
OKLaboklab(47.23% -0.0706 0.0862)
OKLCHoklch(47.23% 0.111 129.3)
XYZxyz(7.6136, 11.1058, 2.6065)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476718 #381867
analogous
#676018 #476718 #1F6718
triadic
#476718 #184767 #671847
tetradic
#476718 #186760 #381867 #67181F
square
#476718 #186760 #381867 #67181F
split-complementary
#476718 #181F67 #601867
monochromatic
#111906 #25350C #476718 #699924 #8BCA2F

Accessibility & contrast

On white

6.52
#476718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#476718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476718
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476718#FFFFFF#000000##FFFFFF
##4767181.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#496258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #476718;
/* rgb */ color: rgb(71, 103, 24);
/* oklch */ color: oklch(47.2% 0.111 129.3);
Tailwind
colors: {
  custom: {
    50: '#7d925b',
    500: '#476718',
    950: '#000000',
  },
}
SCSS
$custom: #476718;
$custom-light: #7d925b;
$custom-dark: #000000;
JSON
{
  "hex": "#476718",
  "rgb": {
    "r": 71,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 84.304,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47229,
    "c": 0.11147,
    "h": 129.3
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#476718
secondary
#643E9D
accent
#43E584
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476718

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

Preview Lab → · Contrast checker → · Palette generator →

#476718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva