#477815#477815

#477815 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.136 H 133.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#477815
RGBrgb(71, 120, 21)
HSLhsl(90, 70%, 28%)
HSVhsv(90, 83%, 47%)
CMYKcmyk(40.8%, 0%, 82.5%, 52.9%)
CIE-LABlab(45.40, -33.00, 44.96)
CIE-LCHlch(45.40, 55.77, 126.28°)
OKLaboklab(51.82% -0.0931 0.0993)
OKLCHoklch(51.82% 0.136 133.1)
XYZxyz(9.4502, 14.8262, 3.0731)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477815 #461578
analogous
#787715 #477815 #157815
triadic
#477815 #154778 #781547
tetradic
#477815 #157877 #461578 #781515
square
#477815 #157877 #461578 #781515
split-complementary
#477815 #151578 #771578
monochromatic
#0F1A05 #28440C #477815 #66AC1E #85DA2D

Accessibility & contrast

On white

5.30
#477815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#477815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477815
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477815#FFFFFF#000000##FFFFFF
##4778151.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#477366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #477815;
/* rgb */ color: rgb(71, 120, 21);
/* oklch */ color: oklch(51.8% 0.136 133.1);
Tailwind
colors: {
  custom: {
    50: '#7f9f5c',
    500: '#477815',
    950: '#000000',
  },
}
SCSS
$custom: #477815;
$custom-light: #7f9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#477815",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 89.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.13609,
    "h": 133.1
  },
  "luminance": 0.14827
}

Semantic roles & 50–950 ramp

primary
#477815
secondary
#743BAE
accent
#3BED93
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477815

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

Preview Lab → · Contrast checker → · Palette generator →

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