#477315#477315

#477315 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.5% C 0.130 H 132.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#477315
RGBrgb(71, 115, 21)
HSLhsl(88, 69%, 27%)
HSVhsv(88, 82%, 45%)
CMYKcmyk(38.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.73, -30.73, 43.41)
CIE-LCHlch(43.73, 53.19, 125.29°)
OKLaboklab(50.47% -0.0869 0.096)
OKLCHoklch(50.47% 0.13 132.2)
XYZxyz(8.8645, 13.6548, 2.8779)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477315 #411573
analogous
#737015 #477315 #187315
triadic
#477315 #154773 #731547
tetradic
#477315 #157370 #411573 #731518
square
#477315 #157370 #411573 #731518
split-complementary
#477315 #151873 #701573
monochromatic
#101A05 #273F0C #477315 #67A71E #87D82A

Accessibility & contrast

On white

5.63
#477315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#477315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477315
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477315#FFFFFF#000000##FFFFFF
##4773151.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#486E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477315;
/* rgb */ color: rgb(71, 115, 21);
/* oklch */ color: oklch(50.5% 0.130 132.2);
Tailwind
colors: {
  custom: {
    50: '#7f9b5b',
    500: '#477315',
    950: '#000000',
  },
}
SCSS
$custom: #477315;
$custom-light: #7f9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#477315",
  "rgb": {
    "r": 71,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 88.085,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.12955,
    "h": 132.2
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#477315
secondary
#6E3BA9
accent
#3CEC8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477315

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

Preview Lab → · Contrast checker → · Palette generator →

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