#476F13#476F13

#476F13 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.125 H 131.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#476F13
RGBrgb(71, 111, 19)
HSLhsl(86, 71%, 25%)
HSVhsv(86, 83%, 44%)
CMYKcmyk(36%, 0%, 82.9%, 56.5%)
CIE-LABlab(42.39, -28.97, 42.82)
CIE-LCHlch(42.39, 51.70, 124.08°)
OKLaboklab(49.36% -0.0824 0.0945)
OKLCHoklch(49.36% 0.125 131.1)
XYZxyz(8.4005, 12.7552, 2.6354)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F13 #3B136F
analogous
#6F6913 #476F13 #196F13
triadic
#476F13 #13476F #6F1347
tetradic
#476F13 #136F69 #3B136F #6F1319
square
#476F13 #136F69 #3B136F #6F1319
split-complementary
#476F13 #13196F #69136F
monochromatic
#111A04 #263B0A #476F13 #68A31C #8AD825

Accessibility & contrast

On white

5.91
#476F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#476F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476F13
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476F13#FFFFFF#000000##FFFFFF
##476F131.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#496A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f13;
/* rgb */ color: rgb(71, 111, 19);
/* oklch */ color: oklch(49.4% 0.125 131.1);
Tailwind
colors: {
  custom: {
    50: '#7e985a',
    500: '#476f13',
    950: '#000000',
  },
}
SCSS
$custom: #476f13;
$custom-light: #7e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#476f13",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 86.087,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.12532,
    "h": 131.1
  },
  "luminance": 0.12755
}

Semantic roles & 50–950 ramp

primary
#476F13
secondary
#6838A6
accent
#3AEE88
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F13

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

Preview Lab → · Contrast checker → · Palette generator →

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