#475F31#475F31

#475F31 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.4% C 0.076 H 131.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#475F31
RGBrgb(71, 95, 49)
HSLhsl(91, 32%, 28%)
HSVhsv(91, 48%, 37%)
CMYKcmyk(25.3%, 0%, 48.4%, 62.7%)
CIE-LABlab(37.38, -18.09, 23.38)
CIE-LCHlch(37.38, 29.57, 127.73°)
OKLaboklab(45.39% -0.0499 0.0567)
OKLCHoklch(45.39% 0.076 131.4)
XYZxyz(7.2450, 9.7456, 4.4045)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F31 #49315F
analogous
#5E5F31 #475F31 #315F32
triadic
#475F31 #31475F #5F3147
tetradic
#475F31 #315E5F #49315F #5F3231
square
#475F31 #315E5F #49315F #5F3231
split-complementary
#475F31 #32315F #5F315E
monochromatic
#0F140A #29371C #475F31 #658746 #84AC5E

Accessibility & contrast

On white

7.12
#475F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#475F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475F31
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F31#FFFFFF#000000##FFFFFF
##475F311.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592D
Deuteranopia (green-blind)
#5F5734
Tritanopia (blue-blind)
#485C54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #475f31;
/* rgb */ color: rgb(71, 95, 49);
/* oklch */ color: oklch(45.4% 0.076 131.4);
Tailwind
colors: {
  custom: {
    50: '#7b8c6a',
    500: '#475f31',
    950: '#000000',
  },
}
SCSS
$custom: #475f31;
$custom-light: #7b8c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#475f31",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 91.304,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.07552,
    "h": 131.4
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#475F31
secondary
#775C90
accent
#60C896
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #475F31

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

Preview Lab → · Contrast checker → · Palette generator →

#475F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva