#476A13#476A13

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

Color values

HEX#476A13
RGBrgb(71, 106, 19)
HSLhsl(84, 70%, 25%)
HSVhsv(84, 82%, 42%)
CMYKcmyk(33%, 0%, 82.1%, 58.4%)
CIE-LABlab(40.73, -26.58, 41.27)
CIE-LCHlch(40.73, 49.09, 122.78°)
OKLaboklab(48.01% -0.0759 0.0912)
OKLCHoklch(48.01% 0.119 129.8)
XYZxyz(7.8701, 11.6944, 2.4586)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476A13 #36136A
analogous
#6A6213 #476A13 #1C6A13
triadic
#476A13 #13476A #6A1347
tetradic
#476A13 #136A62 #36136A #6A131C
square
#476A13 #136A62 #36136A #6A131C
split-complementary
#476A13 #131C6A #62136A
monochromatic
#111A05 #24360A #476A13 #6A9E1C #8DD226

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476A13#FFFFFF#000000##FFFFFF
##476A131.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)
#6F6200
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #476a13;
/* rgb */ color: rgb(71, 106, 19);
/* oklch */ color: oklch(48.0% 0.119 129.8);
Tailwind
colors: {
  custom: {
    50: '#7e9559',
    500: '#476a13',
    950: '#000000',
  },
}
SCSS
$custom: #476a13;
$custom-light: #7e9559;
$custom-dark: #000000;
JSON
{
  "hex": "#476a13",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 19
  },
  "hsl": {
    "h": 84.138,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.11865,
    "h": 129.8
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#476A13
secondary
#6238A1
accent
#3BEC83
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476A13

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

Preview Lab → · Contrast checker → · Palette generator →

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