#476B1F#476B1F

#476B1F is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.4% C 0.112 H 131.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#476B1F
RGBrgb(71, 107, 31)
HSLhsl(88, 55%, 27%)
HSVhsv(88, 71%, 42%)
CMYKcmyk(33.6%, 0%, 71%, 58%)
CIE-LABlab(41.14, -26.24, 36.95)
CIE-LCHlch(41.14, 45.32, 125.38°)
OKLaboklab(48.37% -0.0739 0.0841)
OKLCHoklch(48.37% 0.112 131.3)
XYZxyz(8.1035, 11.9536, 3.1764)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B1F #431F6B
analogous
#6B691F #476B1F #216B1F
triadic
#476B1F #1F476B #6B1F47
tetradic
#476B1F #1F6B69 #431F6B #6B1F21
square
#476B1F #1F6B69 #431F6B #6B1F21
split-complementary
#476B1F #1F216B #691F6B
monochromatic
#101807 #283C11 #476B1F #669A2D #86C73D

Accessibility & contrast

On white

6.19
#476B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476B1F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B1F#FFFFFF#000000##FFFFFF
##476B1F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #476b1f;
/* rgb */ color: rgb(71, 107, 31);
/* oklch */ color: oklch(48.4% 0.112 131.3);
Tailwind
colors: {
  custom: {
    50: '#7d955f',
    500: '#476b1f',
    950: '#000000',
  },
}
SCSS
$custom: #476b1f;
$custom-light: #7d955f;
$custom-dark: #000000;
JSON
{
  "hex": "#476b1f",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 88.421,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.112,
    "h": 131.3
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#476B1F
secondary
#71479F
accent
#49DE90
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #476B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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