#477B1A#477B1A

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

Color values

HEX#477B1A
RGBrgb(71, 123, 26)
HSLhsl(92, 65%, 29%)
HSVhsv(92, 79%, 48%)
CMYKcmyk(42.3%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.42, -34.05, 44.24)
CIE-LCHlch(46.42, 55.83, 127.58°)
OKLaboklab(52.67% -0.0955 0.0986)
OKLCHoklch(52.67% 0.137 134.1)
XYZxyz(9.8678, 15.5796, 3.4643)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B1A #4E1A7B
analogous
#787B1A #477B1A #1A7B1E
triadic
#477B1A #1A477B #7B1A47
tetradic
#477B1A #1A787B #4E1A7B #7B1E1A
square
#477B1A #1A787B #4E1A7B #7B1E1A
split-complementary
#477B1A #1E1A7B #7B1A78
monochromatic
#0F1905 #2A480F #477B1A #64AE25 #82D53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477B1A#FFFFFF#000000##FFFFFF
##477B1A1.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)
#807104
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b1a;
/* rgb */ color: rgb(71, 123, 26);
/* oklch */ color: oklch(52.7% 0.137 134.1);
Tailwind
colors: {
  custom: {
    50: '#7fa15f',
    500: '#477b1a',
    950: '#000000',
  },
}
SCSS
$custom: #477b1a;
$custom-light: #7fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#477b1a",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 92.165,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.13729,
    "h": 134.1
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#477B1A
secondary
#7C42AF
accent
#40E89A
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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