#477015#477015

#477015 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.126 H 131.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#477015
RGBrgb(71, 112, 21)
HSLhsl(87, 68%, 26%)
HSVhsv(87, 81%, 44%)
CMYKcmyk(36.6%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.74, -29.33, 42.48)
CIE-LCHlch(42.74, 51.62, 124.62°)
OKLaboklab(49.65% -0.0832 0.0941)
OKLCHoklch(49.65% 0.126 131.5)
XYZxyz(8.5280, 12.9817, 2.7657)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477015 #3E1570
analogous
#706B15 #477015 #197015
triadic
#477015 #154770 #701547
tetradic
#477015 #15706B #3E1570 #701519
square
#477015 #15706B #3E1570 #701519
split-complementary
#477015 #151970 #6B1570
monochromatic
#101A05 #263C0B #477015 #68A41F #88D729

Accessibility & contrast

On white

5.84
#477015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#477015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477015
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477015#FFFFFF#000000##FFFFFF
##4770151.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#486B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #477015;
/* rgb */ color: rgb(71, 112, 21);
/* oklch */ color: oklch(49.6% 0.126 131.5);
Tailwind
colors: {
  custom: {
    50: '#7e995b',
    500: '#477015',
    950: '#000000',
  },
}
SCSS
$custom: #477015;
$custom-light: #7e995b;
$custom-dark: #000000;
JSON
{
  "hex": "#477015",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 87.033,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.12557,
    "h": 131.5
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#477015
secondary
#6B3BA6
accent
#3DEB8B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477015

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

Preview Lab → · Contrast checker → · Palette generator →

#477015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva