#477C15#477C15

#477C15 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.141 H 133.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#477C15
RGBrgb(71, 124, 21)
HSLhsl(91, 71%, 28%)
HSVhsv(91, 83%, 49%)
CMYKcmyk(42.7%, 0%, 83.1%, 51.4%)
CIE-LABlab(46.72, -34.77, 46.19)
CIE-LCHlch(46.72, 57.81, 126.98°)
OKLaboklab(52.91% -0.0978 0.1019)
OKLCHoklch(52.91% 0.141 133.8)
XYZxyz(9.9414, 15.8085, 3.2368)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C15 #4A157C
analogous
#7A7C15 #477C15 #157C17
triadic
#477C15 #15477C #7C1547
tetradic
#477C15 #157A7C #4A157C #7C1715
square
#477C15 #157A7C #4A157C #7C1715
split-complementary
#477C15 #17157C #7C157A
monochromatic
#0F1A04 #29480C #477C15 #65B01E #83DC30

Accessibility & contrast

On white

5.05
#477C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#477C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C15
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C15#FFFFFF#000000##FFFFFF
##477C151.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#477769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c15;
/* rgb */ color: rgb(71, 124, 21);
/* oklch */ color: oklch(52.9% 0.141 133.8);
Tailwind
colors: {
  custom: {
    50: '#80a25d',
    500: '#477c15',
    950: '#000000',
  },
}
SCSS
$custom: #477c15;
$custom-light: #80a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#477c15",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 90.874,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.14125,
    "h": 133.8
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#477C15
secondary
#783CB1
accent
#3AEE97
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477C15

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

Preview Lab → · Contrast checker → · Palette generator →

#477C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva