#477B14#477B14

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

Color values

HEX#477B14
RGBrgb(71, 123, 20)
HSLhsl(90, 72%, 28%)
HSVhsv(90, 84%, 48%)
CMYKcmyk(42.3%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.39, -34.39, 46.18)
CIE-LCHlch(46.39, 57.58, 126.67°)
OKLaboklab(52.63% -0.0969 0.1017)
OKLCHoklch(52.63% 0.14 133.6)
XYZxyz(9.8076, 15.5555, 3.1474)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B14 #48147B
analogous
#7A7B14 #477B14 #147B14
triadic
#477B14 #14477B #7B1447
tetradic
#477B14 #147A7B #48147B #7B1414
square
#477B14 #147A7B #48147B #7B1414
split-complementary
#477B14 #14147B #7B147A
monochromatic
#0F1A04 #29460B #477B14 #65B01D #84DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477B14#FFFFFF#000000##FFFFFF
##477B141.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)
#796C20
Tritanopia (blue-blind)
#477668
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b14;
/* rgb */ color: rgb(71, 123, 20);
/* oklch */ color: oklch(52.6% 0.140 133.6);
Tailwind
colors: {
  custom: {
    50: '#80a15c',
    500: '#477b14',
    950: '#000000',
  },
}
SCSS
$custom: #477b14;
$custom-light: #80a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#477b14",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 90.291,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.14044,
    "h": 133.6
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#477B14
secondary
#763AB1
accent
#39EF95
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #477B14

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

Preview Lab → · Contrast checker → · Palette generator →

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