#477B15#477B15

#477B15 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.140 H 133.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#477B15
RGBrgb(71, 123, 21)
HSLhsl(91, 71%, 28%)
HSVhsv(91, 83%, 48%)
CMYKcmyk(42.3%, 0%, 82.9%, 51.8%)
CIE-LABlab(46.39, -34.33, 45.88)
CIE-LCHlch(46.39, 57.30, 126.81°)
OKLaboklab(52.64% -0.0967 0.1012)
OKLCHoklch(52.64% 0.14 133.7)
XYZxyz(9.8167, 15.5591, 3.1953)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B15 #49157B
analogous
#7A7B15 #477B15 #157B16
triadic
#477B15 #15477B #7B1547
tetradic
#477B15 #157A7B #49157B #7B1615
square
#477B15 #157A7B #49157B #7B1615
split-complementary
#477B15 #16157B #7B157A
monochromatic
#0F1A04 #29470C #477B15 #65AF1E #84DB2F

Accessibility & contrast

On white

5.11
#477B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#477B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B15
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B15#FFFFFF#000000##FFFFFF
##477B151.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#477668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b15;
/* rgb */ color: rgb(71, 123, 21);
/* oklch */ color: oklch(52.6% 0.140 133.7);
Tailwind
colors: {
  custom: {
    50: '#7fa15c',
    500: '#477b15',
    950: '#000000',
  },
}
SCSS
$custom: #477b15;
$custom-light: #7fa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#477b15",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 90.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.13997,
    "h": 133.7
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#477B15
secondary
#773BB0
accent
#3AEE96
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #477B15

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

Preview Lab → · Contrast checker → · Palette generator →

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