#476B1A#476B1A

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

Color values

HEX#476B1A
RGBrgb(71, 107, 26)
HSLhsl(87, 61%, 26%)
HSVhsv(87, 76%, 42%)
CMYKcmyk(33.6%, 0%, 75.7%, 58%)
CIE-LABlab(41.10, -26.63, 39.03)
CIE-LCHlch(41.10, 47.25, 124.30°)
OKLaboklab(48.33% -0.0754 0.0877)
OKLCHoklch(48.33% 0.116 130.7)
XYZxyz(8.0426, 11.9293, 2.8559)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B1A #3E1A6B
analogous
#6B661A #476B1A #1E6B1A
triadic
#476B1A #1A476B #6B1A47
tetradic
#476B1A #1A6B66 #3E1A6B #6B1A1E
square
#476B1A #1A6B66 #3E1A6B #6B1A1E
split-complementary
#476B1A #1A1E6B #661A6B
monochromatic
#101906 #263A0E #476B1A #689C26 #88CD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476B1A#FFFFFF#000000##FFFFFF
##476B1A1.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)
#70630C
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b1a;
/* rgb */ color: rgb(71, 107, 26);
/* oklch */ color: oklch(48.3% 0.116 130.7);
Tailwind
colors: {
  custom: {
    50: '#7e955c',
    500: '#476b1a',
    950: '#000000',
  },
}
SCSS
$custom: #476b1a;
$custom-light: #7e955c;
$custom-dark: #000000;
JSON
{
  "hex": "#476b1a",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 26
  },
  "hsl": {
    "h": 86.667,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.11568,
    "h": 130.7
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#476B1A
secondary
#6B40A0
accent
#44E48B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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