#476B14#476B14

#476B14 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.3% C 0.119 H 130.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#476B14
RGBrgb(71, 107, 20)
HSLhsl(85, 69%, 25%)
HSVhsv(85, 81%, 42%)
CMYKcmyk(33.6%, 0%, 81.3%, 58%)
CIE-LABlab(41.07, -27.01, 41.25)
CIE-LCHlch(41.07, 49.30, 123.21°)
OKLaboklab(48.29% -0.077 0.0913)
OKLCHoklch(48.29% 0.119 130.1)
XYZxyz(7.9825, 11.9052, 2.5390)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476B14 #38146B
analogous
#6B6414 #476B14 #1B6B14
triadic
#476B14 #14476B #6B1447
tetradic
#476B14 #146B64 #38146B #6B141B
square
#476B14 #146B64 #38146B #6B141B
split-complementary
#476B14 #141B6B #64146B
monochromatic
#111A05 #25370A #476B14 #699F1E #8BD227

Accessibility & contrast

On white

6.21
#476B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#476B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476B14
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476B14#FFFFFF#000000##FFFFFF
##476B141.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706300
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#49665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #476b14;
/* rgb */ color: rgb(71, 107, 20);
/* oklch */ color: oklch(48.3% 0.119 130.1);
Tailwind
colors: {
  custom: {
    50: '#7e955a',
    500: '#476b14',
    950: '#000000',
  },
}
SCSS
$custom: #476b14;
$custom-light: #7e955a;
$custom-dark: #000000;
JSON
{
  "hex": "#476b14",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 84.828,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.11944,
    "h": 130.1
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#476B14
secondary
#6439A2
accent
#3CEB85
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476B14

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

Preview Lab → · Contrast checker → · Palette generator →

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