#476B18#476B18

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

Color values

HEX#476B18
RGBrgb(71, 107, 24)
HSLhsl(86, 63%, 26%)
HSVhsv(86, 78%, 42%)
CMYKcmyk(33.6%, 0%, 77.6%, 58%)
CIE-LABlab(41.09, -26.76, 39.81)
CIE-LCHlch(41.09, 47.97, 123.91°)
OKLaboklab(48.31% -0.076 0.089)
OKLCHoklch(48.31% 0.117 130.5)
XYZxyz(8.0210, 11.9207, 2.7423)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B18 #3C186B
analogous
#6B6518 #476B18 #1D6B18
triadic
#476B18 #18476B #6B1847
tetradic
#476B18 #186B65 #3C186B #6B181D
square
#476B18 #186B65 #3C186B #6B181D
split-complementary
#476B18 #181D6B #65186B
monochromatic
#111906 #26390D #476B18 #689D23 #89CF2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476B18#FFFFFF#000000##FFFFFF
##476B181.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)
#706308
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b18;
/* rgb */ color: rgb(71, 107, 24);
/* oklch */ color: oklch(48.3% 0.117 130.5);
Tailwind
colors: {
  custom: {
    50: '#7e955b',
    500: '#476b18',
    950: '#000000',
  },
}
SCSS
$custom: #476b18;
$custom-light: #7e955b;
$custom-dark: #000000;
JSON
{
  "hex": "#476b18",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 86.024,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48313,
    "c": 0.11701,
    "h": 130.5
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#476B18
secondary
#693EA1
accent
#41E689
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B18

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

Preview Lab → · Contrast checker → · Palette generator →

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