#477C1B#477C1B

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

Color values

HEX#477C1B
RGBrgb(71, 124, 27)
HSLhsl(93, 64%, 30%)
HSVhsv(93, 78%, 49%)
CMYKcmyk(42.7%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.76, -34.42, 44.21)
CIE-LCHlch(46.76, 56.03, 127.91°)
OKLaboklab(52.95% -0.0965 0.0987)
OKLCHoklch(52.95% 0.138 134.4)
XYZxyz(10.0038, 15.8335, 3.5658)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477C1B #501B7C
analogous
#777C1B #477C1B #1B7C20
triadic
#477C1B #1B477C #7C1B47
tetradic
#477C1B #1B777C #501B7C #7C201B
square
#477C1B #1B777C #501B7C #7C201B
split-complementary
#477C1B #201B7C #7C1B77
monochromatic
#0E1905 #2A4A10 #477C1B #64AE26 #82D53D

Accessibility & contrast

On white

5.04
#477C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#477C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477C1B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477C1B#FFFFFF#000000##FFFFFF
##477C1B1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#46776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #477c1b;
/* rgb */ color: rgb(71, 124, 27);
/* oklch */ color: oklch(52.9% 0.138 134.4);
Tailwind
colors: {
  custom: {
    50: '#7fa25f',
    500: '#477c1b',
    950: '#000000',
  },
}
SCSS
$custom: #477c1b;
$custom-light: #7fa25f;
$custom-dark: #000000;
JSON
{
  "hex": "#477c1b",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 92.784,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.13802,
    "h": 134.4
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#477C1B
secondary
#7E43B0
accent
#41E79C
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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