#476F16#476F16

#476F16 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.124 H 131.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#476F16
RGBrgb(71, 111, 22)
HSLhsl(87, 67%, 26%)
HSVhsv(87, 80%, 44%)
CMYKcmyk(36%, 0%, 80.2%, 56.5%)
CIE-LABlab(42.41, -28.80, 41.82)
CIE-LCHlch(42.41, 50.78, 124.56°)
OKLaboklab(49.38% -0.0817 0.0929)
OKLCHoklch(49.38% 0.124 131.3)
XYZxyz(8.4277, 12.7661, 2.7790)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F16 #3E166F
analogous
#6F6A16 #476F16 #1B6F16
triadic
#476F16 #16476F #6F1647
tetradic
#476F16 #166F6A #3E166F #6F161B
square
#476F16 #166F6A #3E166F #6F161B
split-complementary
#476F16 #161B6F #6A166F
monochromatic
#101A05 #263C0C #476F16 #68A220 #88D52B

Accessibility & contrast

On white

5.91
#476F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#476F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F16
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F16#FFFFFF#000000##FFFFFF
##476F161.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f16;
/* rgb */ color: rgb(71, 111, 22);
/* oklch */ color: oklch(49.4% 0.124 131.3);
Tailwind
colors: {
  custom: {
    50: '#7e985b',
    500: '#476f16',
    950: '#000000',
  },
}
SCSS
$custom: #476f16;
$custom-light: #7e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#476f16",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 86.966,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.12367,
    "h": 131.3
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#476F16
secondary
#6B3CA5
accent
#3EEA8B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F16

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

Preview Lab → · Contrast checker → · Palette generator →

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