#476C18#476C18

#476C18 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.118 H 130.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#476C18
RGBrgb(71, 108, 24)
HSLhsl(86, 64%, 26%)
HSVhsv(86, 78%, 42%)
CMYKcmyk(34.3%, 0%, 77.8%, 57.6%)
CIE-LABlab(41.42, -27.25, 40.13)
CIE-LCHlch(41.42, 48.51, 124.17°)
OKLaboklab(48.58% -0.0773 0.0897)
OKLCHoklch(48.58% 0.118 130.8)
XYZxyz(8.1259, 12.1304, 2.7772)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476C18 #3D186C
analogous
#6C6718 #476C18 #1D6C18
triadic
#476C18 #18476C #6C1847
tetradic
#476C18 #186C67 #3D186C #6C181D
square
#476C18 #186C67 #3D186C #6C181D
split-complementary
#476C18 #181D6C #67186C
monochromatic
#101906 #263A0D #476C18 #689E23 #89D02E

Accessibility & contrast

On white

6.13
#476C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#476C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476C18
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476C18#FFFFFF#000000##FFFFFF
##476C181.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716307
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#49675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476c18;
/* rgb */ color: rgb(71, 108, 24);
/* oklch */ color: oklch(48.6% 0.118 130.8);
Tailwind
colors: {
  custom: {
    50: '#7e965c',
    500: '#476c18',
    950: '#000000',
  },
}
SCSS
$custom: #476c18;
$custom-light: #7e965c;
$custom-dark: #000000;
JSON
{
  "hex": "#476c18",
  "rgb": {
    "r": 71,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 86.429,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.11838,
    "h": 130.8
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#476C18
secondary
#6A3EA2
accent
#41E78A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476C18

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

Preview Lab → · Contrast checker → · Palette generator →

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