#476117#476117

#476117 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.6% C 0.104 H 127.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#476117
RGBrgb(71, 97, 23)
HSLhsl(81, 62%, 24%)
HSVhsv(81, 76%, 38%)
CMYKcmyk(26.8%, 0%, 76.3%, 62%)
CIE-LABlab(37.75, -21.84, 36.91)
CIE-LCHlch(37.75, 42.88, 120.61°)
OKLaboklab(45.6% -0.0626 0.0827)
OKLCHoklch(45.6% 0.104 127.1)
XYZxyz(7.0279, 9.9507, 2.3609)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476117 #311761
analogous
#615617 #476117 #226117
triadic
#476117 #174761 #611747
tetradic
#476117 #176156 #311761 #611722
square
#476117 #176156 #311761 #611722
split-complementary
#476117 #172261 #561761
monochromatic
#121906 #23300B #476117 #6B9223 #8FC42E

Accessibility & contrast

On white

7.02
#476117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#476117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #476117
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476117#FFFFFF#000000##FFFFFF
##4761171.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#4A5C53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #476117;
/* rgb */ color: rgb(71, 97, 23);
/* oklch */ color: oklch(45.6% 0.104 127.1);
Tailwind
colors: {
  custom: {
    50: '#7d8e5a',
    500: '#476117',
    950: '#000000',
  },
}
SCSS
$custom: #476117;
$custom-light: #7d8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#476117",
  "rgb": {
    "r": 71,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 81.081,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.10378,
    "h": 127.1
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#476117
secondary
#5C3C98
accent
#43E57C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476117

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

Preview Lab → · Contrast checker → · Palette generator →

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