#477231#477231

#477231 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.106 H 136.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#477231
RGBrgb(71, 114, 49)
HSLhsl(100, 40%, 32%)
HSVhsv(100, 57%, 45%)
CMYKcmyk(37.7%, 0%, 57%, 55.3%)
CIE-LABlab(43.65, -27.78, 31.00)
CIE-LCHlch(43.65, 41.62, 131.86°)
OKLaboklab(50.47% -0.0766 0.0735)
OKLCHoklch(50.47% 0.106 136.2)
XYZxyz(9.1700, 13.5955, 5.0462)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477231 #5C3172
analogous
#687231 #477231 #31723C
triadic
#477231 #314772 #723147
tetradic
#477231 #316872 #5C3172 #723C31
square
#477231 #316872 #5C3172 #723C31
split-complementary
#477231 #3C3172 #723168
monochromatic
#121C0C #2C471F #477231 #629D43 #80BB62

Accessibility & contrast

On white

5.65
#477231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#477231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #477231
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477231#FFFFFF#000000##FFFFFF
##4772311.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76692B
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#466E63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #477231;
/* rgb */ color: rgb(71, 114, 49);
/* oklch */ color: oklch(50.5% 0.106 136.2);
Tailwind
colors: {
  custom: {
    50: '#7d9b6b',
    500: '#477231',
    950: '#000000',
  },
}
SCSS
$custom: #477231;
$custom-light: #7d9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#477231",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 99.692,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.10622,
    "h": 136.2
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#477231
secondary
#8B5CA3
accent
#58D0A7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #477231

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

Preview Lab → · Contrast checker → · Palette generator →

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