#477B1E#477B1E

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

Color values

HEX#477B1E
RGBrgb(71, 123, 30)
HSLhsl(94, 61%, 30%)
HSVhsv(94, 76%, 48%)
CMYKcmyk(42.3%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.44, -33.78, 42.79)
CIE-LCHlch(46.44, 54.51, 128.29°)
OKLaboklab(52.7% -0.0945 0.0962)
OKLCHoklch(52.7% 0.135 134.5)
XYZxyz(9.9156, 15.5987, 3.7164)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477B1E #521E7B
analogous
#767B1E #477B1E #1E7B23
triadic
#477B1E #1E477B #7B1E47
tetradic
#477B1E #1E767B #521E7B #7B231E
square
#477B1E #1E767B #521E7B #7B231E
split-complementary
#477B1E #231E7B #7B1E76
monochromatic
#0E1906 #2B4A12 #477B1E #63AC2A #81D142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##477B1E#FFFFFF#000000##FFFFFF
##477B1E1.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)
#80710D
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #477b1e;
/* rgb */ color: rgb(71, 123, 30);
/* oklch */ color: oklch(52.7% 0.135 134.5);
Tailwind
colors: {
  custom: {
    50: '#7fa161',
    500: '#477b1e',
    950: '#000000',
  },
}
SCSS
$custom: #477b1e;
$custom-light: #7fa161;
$custom-dark: #000000;
JSON
{
  "hex": "#477b1e",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 93.548,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.13484,
    "h": 134.5
  },
  "luminance": 0.15599
}

Semantic roles & 50–950 ramp

primary
#477B1E
secondary
#8146AE
accent
#44E49D
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #477B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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