#476D14#476D14

#476D14 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.8% C 0.122 H 130.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#476D14
RGBrgb(71, 109, 20)
HSLhsl(86, 69%, 25%)
HSVhsv(86, 82%, 43%)
CMYKcmyk(34.9%, 0%, 81.7%, 57.3%)
CIE-LABlab(41.73, -27.97, 41.87)
CIE-LCHlch(41.73, 50.36, 123.74°)
OKLaboklab(48.83% -0.0796 0.0926)
OKLCHoklch(48.83% 0.122 130.7)
XYZxyz(8.1934, 12.3271, 2.6094)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476D14 #3A146D
analogous
#6D6614 #476D14 #1A6D14
triadic
#476D14 #14476D #6D1447
tetradic
#476D14 #146D66 #3A146D #6D141A
square
#476D14 #146D66 #3A146D #6D141A
split-complementary
#476D14 #141A6D #66146D
monochromatic
#111A05 #25390B #476D14 #69A11D #8AD427

Accessibility & contrast

On white

6.06
#476D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#476D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476D14
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476D14#FFFFFF#000000##FFFFFF
##476D141.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#49685C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #476d14;
/* rgb */ color: rgb(71, 109, 20);
/* oklch */ color: oklch(48.8% 0.122 130.7);
Tailwind
colors: {
  custom: {
    50: '#7e975a',
    500: '#476d14',
    950: '#000000',
  },
}
SCSS
$custom: #476d14;
$custom-light: #7e975a;
$custom-dark: #000000;
JSON
{
  "hex": "#476d14",
  "rgb": {
    "r": 71,
    "g": 109,
    "b": 20
  },
  "hsl": {
    "h": 85.618,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.12211,
    "h": 130.7
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#476D14
secondary
#6739A4
accent
#3CEC87
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476D14

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

Preview Lab → · Contrast checker → · Palette generator →

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