#477515#477515

#477515 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.132 H 132.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#477515
RGBrgb(71, 117, 21)
HSLhsl(89, 70%, 27%)
HSVhsv(89, 82%, 46%)
CMYKcmyk(39.3%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.40, -31.64, 44.03)
CIE-LCHlch(44.40, 54.22, 125.70°)
OKLaboklab(51.01% -0.0894 0.0974)
OKLCHoklch(51.01% 0.132 132.6)
XYZxyz(9.0951, 14.1159, 2.9547)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477515 #431575
analogous
#757315 #477515 #177515
triadic
#477515 #154775 #751547
tetradic
#477515 #157573 #431575 #751517
square
#477515 #157573 #431575 #751517
split-complementary
#477515 #151775 #731575
monochromatic
#101A05 #28410C #477515 #66A91E #86D92B

Accessibility & contrast

On white

5.49
#477515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#477515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477515
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477515#FFFFFF#000000##FFFFFF
##4775151.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#487063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #477515;
/* rgb */ color: rgb(71, 117, 21);
/* oklch */ color: oklch(51.0% 0.132 132.6);
Tailwind
colors: {
  custom: {
    50: '#7f9d5b',
    500: '#477515',
    950: '#000000',
  },
}
SCSS
$custom: #477515;
$custom-light: #7f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#477515",
  "rgb": {
    "r": 71,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 88.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.13218,
    "h": 132.6
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#477515
secondary
#713BAB
accent
#3BEC90
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #477515

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

Preview Lab → · Contrast checker → · Palette generator →

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