#476B1E#476B1E

#476B1E is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.113 H 131.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#476B1E
RGBrgb(71, 107, 30)
HSLhsl(88, 56%, 27%)
HSVhsv(88, 72%, 42%)
CMYKcmyk(33.6%, 0%, 72%, 58%)
CIE-LABlab(41.13, -26.32, 37.38)
CIE-LCHlch(41.13, 45.72, 125.15°)
OKLaboklab(48.36% -0.0743 0.0849)
OKLCHoklch(48.36% 0.113 131.2)
XYZxyz(8.0905, 11.9484, 3.1081)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B1E #421E6B
analogous
#6B691E #476B1E #216B1E
triadic
#476B1E #1E476B #6B1E47
tetradic
#476B1E #1E6B69 #421E6B #6B1E21
square
#476B1E #1E6B69 #421E6B #6B1E21
split-complementary
#476B1E #1E216B #691E6B
monochromatic
#101807 #273B11 #476B1E #679B2B #86C83B

Accessibility & contrast

On white

6.20
#476B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#476B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B1E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B1E#FFFFFF#000000##FFFFFF
##476B1E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706313
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#48665C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b1e;
/* rgb */ color: rgb(71, 107, 30);
/* oklch */ color: oklch(48.4% 0.113 131.2);
Tailwind
colors: {
  custom: {
    50: '#7d955f',
    500: '#476b1e',
    950: '#000000',
  },
}
SCSS
$custom: #476b1e;
$custom-light: #7d955f;
$custom-dark: #000000;
JSON
{
  "hex": "#476b1e",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 88.052,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48363,
    "c": 0.11277,
    "h": 131.2
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#476B1E
secondary
#6F459F
accent
#48DF8F
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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