#477915#477915

#477915 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.137 H 133.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#477915
RGBrgb(71, 121, 21)
HSLhsl(90, 70%, 28%)
HSVhsv(90, 83%, 47%)
CMYKcmyk(41.3%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.73, -33.45, 45.27)
CIE-LCHlch(45.73, 56.28, 126.46°)
OKLaboklab(52.1% -0.0943 0.0999)
OKLCHoklch(52.1% 0.137 133.3)
XYZxyz(9.5711, 15.0680, 3.1134)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477915 #471579
analogous
#797915 #477915 #157915
triadic
#477915 #154779 #791547
tetradic
#477915 #157979 #471579 #791515
square
#477915 #157979 #471579 #791515
split-complementary
#477915 #151579 #791579
monochromatic
#0F1A05 #28450C #477915 #66AD1E #84DB2E

Accessibility & contrast

On white

5.23
#477915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#477915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477915
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477915#FFFFFF#000000##FFFFFF
##4779151.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#477467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #477915;
/* rgb */ color: rgb(71, 121, 21);
/* oklch */ color: oklch(52.1% 0.137 133.3);
Tailwind
colors: {
  custom: {
    50: '#7fa05c',
    500: '#477915',
    950: '#000000',
  },
}
SCSS
$custom: #477915;
$custom-light: #7fa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#477915",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.13739,
    "h": 133.3
  },
  "luminance": 0.15068
}

Semantic roles & 50–950 ramp

primary
#477915
secondary
#753BAF
accent
#3BED94
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #477915

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

Preview Lab → · Contrast checker → · Palette generator →

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