#476E14#476E14

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

Color values

HEX#476E14
RGBrgb(71, 110, 20)
HSLhsl(86, 69%, 25%)
HSVhsv(86, 82%, 43%)
CMYKcmyk(35.5%, 0%, 81.8%, 56.9%)
CIE-LABlab(42.06, -28.44, 42.19)
CIE-LCHlch(42.06, 50.88, 123.99°)
OKLaboklab(49.1% -0.0808 0.0933)
OKLCHoklch(49.1% 0.123 130.9)
XYZxyz(8.3007, 12.5417, 2.6451)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E14 #3B146E
analogous
#6E6814 #476E14 #1A6E14
triadic
#476E14 #14476E #6E1447
tetradic
#476E14 #146E68 #3B146E #6E141A
square
#476E14 #146E68 #3B146E #6E141A
split-complementary
#476E14 #141A6E #68146E
monochromatic
#111A05 #263A0B #476E14 #68A21D #8AD627

Accessibility & contrast

On white

5.99
#476E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #476E14
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E14#FFFFFF#000000##FFFFFF
##476E141.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#49695D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e14;
/* rgb */ color: rgb(71, 110, 20);
/* oklch */ color: oklch(49.1% 0.123 130.9);
Tailwind
colors: {
  custom: {
    50: '#7e985a',
    500: '#476e14',
    950: '#000000',
  },
}
SCSS
$custom: #476e14;
$custom-light: #7e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#476e14",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 20
  },
  "hsl": {
    "h": 86,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.491,
    "c": 0.12346,
    "h": 130.9
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#476E14
secondary
#6839A5
accent
#3CEC88
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E14

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

Preview Lab → · Contrast checker → · Palette generator →

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