#477A1C#477A1C

#477A1C is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.135 H 134.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#477A1C
RGBrgb(71, 122, 28)
HSLhsl(93, 63%, 29%)
HSVhsv(93, 77%, 48%)
CMYKcmyk(41.8%, 0%, 77%, 52.2%)
CIE-LABlab(46.10, -33.47, 43.20)
CIE-LCHlch(46.10, 54.65, 127.76°)
OKLaboklab(52.41% -0.0938 0.0967)
OKLCHoklch(52.41% 0.135 134.1)
XYZxyz(9.7675, 15.3420, 3.5450)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477A1C #4F1C7A
analogous
#767A1C #477A1C #1C7A20
triadic
#477A1C #1C477A #7A1C47
tetradic
#477A1C #1C767A #4F1C7A #7A201C
square
#477A1C #1C767A #4F1C7A #7A201C
split-complementary
#477A1C #201C7A #7A1C76
monochromatic
#0E1906 #2A4811 #477A1C #64AC27 #82D33E

Accessibility & contrast

On white

5.16
#477A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#477A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477A1C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477A1C#FFFFFF#000000##FFFFFF
##477A1C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7009
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#467568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #477a1c;
/* rgb */ color: rgb(71, 122, 28);
/* oklch */ color: oklch(52.4% 0.135 134.1);
Tailwind
colors: {
  custom: {
    50: '#7fa15f',
    500: '#477a1c',
    950: '#000000',
  },
}
SCSS
$custom: #477a1c;
$custom-light: #7fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#477a1c",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 92.553,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52413,
    "c": 0.13478,
    "h": 134.1
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#477A1C
secondary
#7D44AE
accent
#42E69B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #477A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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