#475F2F#475F2F

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

Color values

HEX#475F2F
RGBrgb(71, 95, 47)
HSLhsl(90, 34%, 28%)
HSVhsv(90, 51%, 37%)
CMYKcmyk(25.3%, 0%, 50.5%, 62.7%)
CIE-LABlab(37.35, -18.37, 24.48)
CIE-LCHlch(37.35, 30.60, 126.88°)
OKLaboklab(45.36% -0.0508 0.059)
OKLCHoklch(45.36% 0.078 130.7)
XYZxyz(7.2037, 9.7291, 4.1871)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F2F #472F5F
analogous
#5F5F2F #475F2F #2F5F2F
triadic
#475F2F #2F475F #5F2F47
tetradic
#475F2F #2F5F5F #472F5F #5F2F2F
square
#475F2F #2F5F5F #472F5F #5F2F2F
split-complementary
#475F2F #2F2F5F #5F2F5F
monochromatic
#0F140A #28361B #475F2F #668843 #84AE5B

Accessibility & contrast

On white

7.13
#475F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475F2F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F2F#FFFFFF#000000##FFFFFF
##475F2F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592B
Deuteranopia (green-blind)
#5F5732
Tritanopia (blue-blind)
#485B54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #475f2f;
/* rgb */ color: rgb(71, 95, 47);
/* oklch */ color: oklch(45.4% 0.078 130.7);
Tailwind
colors: {
  custom: {
    50: '#7b8c68',
    500: '#475f2f',
    950: '#000000',
  },
}
SCSS
$custom: #475f2f;
$custom-light: #7b8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#475f2f",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 90,
    "s": 33.803,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.07787,
    "h": 130.7
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#475F2F
secondary
#755991
accent
#5ECA94
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #475F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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