#476210#476210

#476210 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.8% C 0.110 H 126.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#476210
RGBrgb(71, 98, 16)
HSLhsl(80, 72%, 22%)
HSVhsv(80, 84%, 38%)
CMYKcmyk(27.6%, 0%, 83.7%, 61.6%)
CIE-LABlab(38.04, -22.77, 39.80)
CIE-LCHlch(38.04, 45.85, 119.77°)
OKLaboklab(45.82% -0.0658 0.0876)
OKLCHoklch(45.82% 0.11 126.9)
XYZxyz(7.0598, 10.1122, 2.0700)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476210 #2B1062
analogous
#625410 #476210 #1E6210
triadic
#476210 #104762 #621047
tetradic
#476210 #106254 #2B1062 #62101E
square
#476210 #106254 #2B1062 #62101E
split-complementary
#476210 #101E62 #541062
monochromatic
#131A04 #212D07 #476210 #6D9719 #93CB21

Accessibility & contrast

On white

6.95
#476210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#476210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476210
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476210#FFFFFF#000000##FFFFFF
##4762101.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#4A5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476210;
/* rgb */ color: rgb(71, 98, 16);
/* oklch */ color: oklch(45.8% 0.110 126.9);
Tailwind
colors: {
  custom: {
    50: '#7d8e56',
    500: '#476210',
    950: '#000000',
  },
}
SCSS
$custom: #476210;
$custom-light: #7d8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#476210",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 79.756,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.10952,
    "h": 126.9
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#476210
secondary
#55339B
accent
#39EF75
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #476210

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

Preview Lab → · Contrast checker → · Palette generator →

#476210 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva