#477E2B#477E2B

#477E2B is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.129 H 136.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#477E2B
RGBrgb(71, 126, 43)
HSLhsl(100, 49%, 33%)
HSVhsv(100, 66%, 49%)
CMYKcmyk(43.7%, 0%, 65.9%, 50.6%)
CIE-LABlab(47.54, -34.00, 38.39)
CIE-LCHlch(47.54, 51.29, 131.53°)
OKLaboklab(53.63% -0.0941 0.0888)
OKLCHoklch(53.63% 0.129 136.7)
XYZxyz(10.4951, 16.4351, 4.9043)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477E2B #622B7E
analogous
#707E2B #477E2B #2B7E38
triadic
#477E2B #2B477E #7E2B47
tetradic
#477E2B #2B707E #622B7E #7E382B
square
#477E2B #2B707E #622B7E #7E382B
split-complementary
#477E2B #382B7E #7E2B70
monochromatic
#14230C #2D501B #477E2B #61AC3B #80C75C

Accessibility & contrast

On white

4.90
#477E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#477E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477E2B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477E2B#FFFFFF#000000##FFFFFF
##477E2B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#45796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #477e2b;
/* rgb */ color: rgb(71, 126, 43);
/* oklch */ color: oklch(53.6% 0.129 136.7);
Tailwind
colors: {
  custom: {
    50: '#7fa468',
    500: '#477e2b',
    950: '#000000',
  },
}
SCSS
$custom: #477e2b;
$custom-light: #7fa468;
$custom-dark: #000000;
JSON
{
  "hex": "#477e2b",
  "rgb": {
    "r": 71,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 99.759,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.12938,
    "h": 136.7
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#477E2B
secondary
#9058AD
accent
#4FD9AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #477E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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