#477B19#477B19

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

Color values

HEX#477B19
RGBrgb(71, 123, 25)
HSLhsl(92, 66%, 29%)
HSVhsv(92, 80%, 48%)
CMYKcmyk(42.3%, 0%, 79.7%, 51.8%)
CIE-LABlab(46.41, -34.11, 44.59)
CIE-LCHlch(46.41, 56.14, 127.41°)
OKLaboklab(52.66% -0.0958 0.0992)
OKLCHoklch(52.66% 0.138 134)
XYZxyz(9.8568, 15.5752, 3.4065)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B19 #4D197B
analogous
#787B19 #477B19 #197B1C
triadic
#477B19 #19477B #7B1947
tetradic
#477B19 #19787B #4D197B #7B1C19
square
#477B19 #19787B #4D197B #7B1C19
split-complementary
#477B19 #1C197B #7B1978
monochromatic
#0F1905 #2A480F #477B19 #64AE23 #82D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477B19#FFFFFF#000000##FFFFFF
##477B191.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)
#807101
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#477669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b19;
/* rgb */ color: rgb(71, 123, 25);
/* oklch */ color: oklch(52.7% 0.138 134.0);
Tailwind
colors: {
  custom: {
    50: '#7fa15e',
    500: '#477b19',
    950: '#000000',
  },
}
SCSS
$custom: #477b19;
$custom-light: #7fa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#477b19",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 91.837,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.13786,
    "h": 134
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#477B19
secondary
#7B40AF
accent
#3FE999
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #477B19

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

Preview Lab → · Contrast checker → · Palette generator →

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