#477128#477128

#477128 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.113 H 134.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#477128
RGBrgb(71, 113, 40)
HSLhsl(95, 48%, 30%)
HSVhsv(95, 65%, 44%)
CMYKcmyk(37.2%, 0%, 64.6%, 55.7%)
CIE-LABlab(43.22, -28.31, 35.03)
CIE-LCHlch(43.22, 45.03, 128.94°)
OKLaboklab(50.09% -0.0788 0.0813)
OKLCHoklch(50.09% 0.113 134.1)
XYZxyz(8.8865, 13.3027, 4.1065)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477128 #522871
analogous
#6B7128 #477128 #28712E
triadic
#477128 #284771 #712847
tetradic
#477128 #286B71 #522871 #712E28
square
#477128 #286B71 #522871 #712E28
split-complementary
#477128 #2E2871 #71286B
monochromatic
#0E1708 #2B4418 #477128 #639E38 #81C252

Accessibility & contrast

On white

5.74
#477128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#477128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477128
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477128#FFFFFF#000000##FFFFFF
##4771281.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756820
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#476D62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #477128;
/* rgb */ color: rgb(71, 113, 40);
/* oklch */ color: oklch(50.1% 0.113 134.1);
Tailwind
colors: {
  custom: {
    50: '#7d9a65',
    500: '#477128',
    950: '#000000',
  },
}
SCSS
$custom: #477128;
$custom-light: #7d9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#477128",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 94.521,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.11319,
    "h": 134.1
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#477128
secondary
#8152A3
accent
#50D79E
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #477128

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

Preview Lab → · Contrast checker → · Palette generator →

#477128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva