#477B1B#477B1B

#477B1B is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.137 H 134.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#477B1B
RGBrgb(71, 123, 27)
HSLhsl(93, 64%, 29%)
HSVhsv(93, 78%, 48%)
CMYKcmyk(42.3%, 0%, 78%, 51.8%)
CIE-LABlab(46.42, -33.98, 43.89)
CIE-LCHlch(46.42, 55.51, 127.75°)
OKLaboklab(52.68% -0.0953 0.098)
OKLCHoklch(52.68% 0.137 134.2)
XYZxyz(9.8791, 15.5841, 3.5242)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B1B #4F1B7B
analogous
#777B1B #477B1B #1B7B1F
triadic
#477B1B #1B477B #7B1B47
tetradic
#477B1B #1B777B #4F1B7B #7B1F1B
square
#477B1B #1B777B #4F1B7B #7B1F1B
split-complementary
#477B1B #1F1B7B #7B1B77
monochromatic
#0E1906 #2A4910 #477B1B #64AD26 #82D43C

Accessibility & contrast

On white

5.10
#477B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#477B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477B1B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477B1B#FFFFFF#000000##FFFFFF
##477B1B1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807106
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b1b;
/* rgb */ color: rgb(71, 123, 27);
/* oklch */ color: oklch(52.7% 0.137 134.2);
Tailwind
colors: {
  custom: {
    50: '#7fa15f',
    500: '#477b1b',
    950: '#000000',
  },
}
SCSS
$custom: #477b1b;
$custom-light: #7fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#477b1b",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 92.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.1367,
    "h": 134.2
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#477B1B
secondary
#7D43AF
accent
#41E79B
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #477B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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