#476E16#476E16

#476E16 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.1% C 0.122 H 131.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#476E16
RGBrgb(71, 110, 22)
HSLhsl(87, 67%, 26%)
HSVhsv(87, 80%, 43%)
CMYKcmyk(35.5%, 0%, 80%, 56.9%)
CIE-LABlab(42.08, -28.33, 41.50)
CIE-LCHlch(42.08, 50.25, 124.32°)
OKLaboklab(49.11% -0.0804 0.0922)
OKLCHoklch(49.11% 0.122 131.1)
XYZxyz(8.3192, 12.5491, 2.7428)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E16 #3D166E
analogous
#6E6916 #476E16 #1B6E16
triadic
#476E16 #16476E #6E1647
tetradic
#476E16 #166E69 #3D166E #6E161B
square
#476E16 #166E69 #3D166E #6E161B
split-complementary
#476E16 #161B6E #69166E
monochromatic
#101A05 #263B0C #476E16 #68A120 #89D42A

Accessibility & contrast

On white

5.98
#476E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#476E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E16
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E16#FFFFFF#000000##FFFFFF
##476E161.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#48695D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e16;
/* rgb */ color: rgb(71, 110, 22);
/* oklch */ color: oklch(49.1% 0.122 131.1);
Tailwind
colors: {
  custom: {
    50: '#7e985b',
    500: '#476e16',
    950: '#000000',
  },
}
SCSS
$custom: #476e16;
$custom-light: #7e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#476e16",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 86.591,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.12232,
    "h": 131.1
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#476E16
secondary
#6A3CA4
accent
#3EEA8A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E16

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

Preview Lab → · Contrast checker → · Palette generator →

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