#476E15#476E15

#476E15 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 49.1% C 0.123 H 131.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#476E15
RGBrgb(71, 110, 21)
HSLhsl(86, 68%, 26%)
HSVhsv(86, 81%, 43%)
CMYKcmyk(35.5%, 0%, 80.9%, 56.9%)
CIE-LABlab(42.07, -28.39, 41.85)
CIE-LCHlch(42.07, 50.57, 124.15°)
OKLaboklab(49.11% -0.0806 0.0928)
OKLCHoklch(49.11% 0.123 131)
XYZxyz(8.3098, 12.5453, 2.6930)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476E15 #3C156E
analogous
#6E6815 #476E15 #1A6E15
triadic
#476E15 #15476E #6E1547
tetradic
#476E15 #156E68 #3C156E #6E151A
square
#476E15 #156E68 #3C156E #6E151A
split-complementary
#476E15 #151A6E #68156E
monochromatic
#111A05 #263B0B #476E15 #68A11F #89D529

Accessibility & contrast

On white

5.98
#476E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#476E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476E15
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476E15#FFFFFF#000000##FFFFFF
##476E151.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#49695D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #476e15;
/* rgb */ color: rgb(71, 110, 21);
/* oklch */ color: oklch(49.1% 0.123 131.0);
Tailwind
colors: {
  custom: {
    50: '#7e985a',
    500: '#476e15',
    950: '#000000',
  },
}
SCSS
$custom: #476e15;
$custom-light: #7e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#476e15",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 86.292,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.1229,
    "h": 131
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#476E15
secondary
#693AA4
accent
#3DEB89
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #476E15

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

Preview Lab → · Contrast checker → · Palette generator →

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