#476A14#476A14

#476A14 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.0% C 0.118 H 129.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#476A14
RGBrgb(71, 106, 20)
HSLhsl(84, 68%, 25%)
HSVhsv(84, 81%, 42%)
CMYKcmyk(33%, 0%, 81.1%, 58.4%)
CIE-LABlab(40.73, -26.52, 40.93)
CIE-LCHlch(40.73, 48.78, 122.94°)
OKLaboklab(48.01% -0.0757 0.0907)
OKLCHoklch(48.01% 0.118 129.8)
XYZxyz(7.8788, 11.6979, 2.5045)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A14 #37146A
analogous
#6A6214 #476A14 #1C6A14
triadic
#476A14 #14476A #6A1447
tetradic
#476A14 #146A62 #37146A #6A141C
square
#476A14 #146A62 #37146A #6A141C
split-complementary
#476A14 #141C6A #62146A
monochromatic
#111A05 #25370A #476A14 #699D1E #8CD127

Accessibility & contrast

On white

6.29
#476A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#476A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476A14
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476A14#FFFFFF#000000##FFFFFF
##476A141.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6201
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a14;
/* rgb */ color: rgb(71, 106, 20);
/* oklch */ color: oklch(48.0% 0.118 129.8);
Tailwind
colors: {
  custom: {
    50: '#7e9559',
    500: '#476a14',
    950: '#000000',
  },
}
SCSS
$custom: #476a14;
$custom-light: #7e9559;
$custom-dark: #000000;
JSON
{
  "hex": "#476a14",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 84.419,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48013,
    "c": 0.11809,
    "h": 129.8
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#476A14
secondary
#6339A1
accent
#3DEB84
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A14

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

Preview Lab → · Contrast checker → · Palette generator →

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