#476217#476217

#476217 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.9% C 0.105 H 127.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#476217
RGBrgb(71, 98, 23)
HSLhsl(82, 62%, 24%)
HSVhsv(82, 77%, 38%)
CMYKcmyk(27.6%, 0%, 76.5%, 61.6%)
CIE-LABlab(38.09, -22.35, 37.24)
CIE-LCHlch(38.09, 43.43, 120.97°)
OKLaboklab(45.87% -0.064 0.0834)
OKLCHoklch(45.87% 0.105 127.5)
XYZxyz(7.1209, 10.1367, 2.3919)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476217 #321762
analogous
#625717 #476217 #216217
triadic
#476217 #174762 #621747
tetradic
#476217 #176257 #321762 #621721
square
#476217 #176257 #321762 #621721
split-complementary
#476217 #172162 #571762
monochromatic
#121906 #23300B #476217 #6B9423 #8FC52E

Accessibility & contrast

On white

6.94
#476217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#476217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476217
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476217#FFFFFF#000000##FFFFFF
##4762171.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0A
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#4A5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #476217;
/* rgb */ color: rgb(71, 98, 23);
/* oklch */ color: oklch(45.9% 0.105 127.5);
Tailwind
colors: {
  custom: {
    50: '#7d8e5a',
    500: '#476217',
    950: '#000000',
  },
}
SCSS
$custom: #476217;
$custom-light: #7d8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476217",
  "rgb": {
    "r": 71,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 81.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.10518,
    "h": 127.5
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#476217
secondary
#5D3C99
accent
#43E57D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476217

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

Preview Lab → · Contrast checker → · Palette generator →

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