#476F14#476F14

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

Color values

HEX#476F14
RGBrgb(71, 111, 20)
HSLhsl(86, 69%, 26%)
HSVhsv(86, 82%, 44%)
CMYKcmyk(36%, 0%, 82%, 56.5%)
CIE-LABlab(42.40, -28.92, 42.50)
CIE-LCHlch(42.40, 51.40, 124.23°)
OKLaboklab(49.37% -0.0821 0.094)
OKLCHoklch(49.37% 0.125 131.2)
XYZxyz(8.4092, 12.7587, 2.6813)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F14 #3C146F
analogous
#6F6914 #476F14 #196F14
triadic
#476F14 #14476F #6F1447
tetradic
#476F14 #146F69 #3C146F #6F1419
square
#476F14 #146F69 #3C146F #6F1419
split-complementary
#476F14 #14196F #69146F
monochromatic
#111A05 #263B0B #476F14 #68A31D #89D727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F14#FFFFFF#000000##FFFFFF
##476F141.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)
#746600
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f14;
/* rgb */ color: rgb(71, 111, 20);
/* oklch */ color: oklch(49.4% 0.125 131.2);
Tailwind
colors: {
  custom: {
    50: '#7e985a',
    500: '#476f14',
    950: '#000000',
  },
}
SCSS
$custom: #476f14;
$custom-light: #7e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#476f14",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 86.374,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.12479,
    "h": 131.2
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#476F14
secondary
#6939A6
accent
#3CEC89
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F14

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

Preview Lab → · Contrast checker → · Palette generator →

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