#476017#476017

#476017 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.102 H 126.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#476017
RGBrgb(71, 96, 23)
HSLhsl(81, 61%, 23%)
HSVhsv(81, 76%, 38%)
CMYKcmyk(26%, 0%, 76%, 62.4%)
CIE-LABlab(37.42, -21.32, 36.58)
CIE-LCHlch(37.42, 42.34, 120.24°)
OKLaboklab(45.33% -0.0612 0.0821)
OKLCHoklch(45.33% 0.102 126.7)
XYZxyz(6.9361, 9.7671, 2.3303)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476017 #301760
analogous
#605417 #476017 #226017
triadic
#476017 #174760 #601747
tetradic
#476017 #176054 #301760 #601722
square
#476017 #176054 #301760 #601722
split-complementary
#476017 #172260 #541760
monochromatic
#121906 #222F0B #476017 #6C9123 #90C32F

Accessibility & contrast

On white

7.11
#476017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#476017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476017
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476017#FFFFFF#000000##FFFFFF
##4760171.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#4A5B52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #476017;
/* rgb */ color: rgb(71, 96, 23);
/* oklch */ color: oklch(45.3% 0.102 126.7);
Tailwind
colors: {
  custom: {
    50: '#7d8d59',
    500: '#476017',
    950: '#000000',
  },
}
SCSS
$custom: #476017;
$custom-light: #7d8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#476017",
  "rgb": {
    "r": 71,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 80.548,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.10238,
    "h": 126.7
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#476017
secondary
#5B3C97
accent
#43E47B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476017

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

Preview Lab → · Contrast checker → · Palette generator →

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