#476F15#476F15

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

Color values

HEX#476F15
RGBrgb(71, 111, 21)
HSLhsl(87, 68%, 26%)
HSVhsv(87, 81%, 44%)
CMYKcmyk(36%, 0%, 81.1%, 56.5%)
CIE-LABlab(42.40, -28.86, 42.16)
CIE-LCHlch(42.40, 51.09, 124.39°)
OKLaboklab(49.38% -0.0819 0.0934)
OKLCHoklch(49.38% 0.124 131.2)
XYZxyz(8.4183, 12.7623, 2.7291)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476F15 #3D156F
analogous
#6F6A15 #476F15 #1A6F15
triadic
#476F15 #15476F #6F1547
tetradic
#476F15 #156F6A #3D156F #6F151A
square
#476F15 #156F6A #3D156F #6F151A
split-complementary
#476F15 #151A6F #6A156F
monochromatic
#101A05 #263C0B #476F15 #68A21F #89D628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##476F15#FFFFFF#000000##FFFFFF
##476F151.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)
#6F631F
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #476f15;
/* rgb */ color: rgb(71, 111, 21);
/* oklch */ color: oklch(49.4% 0.124 131.2);
Tailwind
colors: {
  custom: {
    50: '#7e985b',
    500: '#476f15',
    950: '#000000',
  },
}
SCSS
$custom: #476f15;
$custom-light: #7e985b;
$custom-dark: #000000;
JSON
{
  "hex": "#476f15",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 86.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.12424,
    "h": 131.2
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#476F15
secondary
#6A3AA5
accent
#3DEB8A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476F15

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

Preview Lab → · Contrast checker → · Palette generator →

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