#475F2E#475F2E

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

Color values

HEX#475F2E
RGBrgb(71, 95, 46)
HSLhsl(89, 35%, 28%)
HSVhsv(89, 52%, 37%)
CMYKcmyk(25.3%, 0%, 51.6%, 62.7%)
CIE-LABlab(37.34, -18.50, 25.02)
CIE-LCHlch(37.34, 31.12, 126.48°)
OKLaboklab(45.34% -0.0513 0.0601)
OKLCHoklch(45.34% 0.079 130.4)
XYZxyz(7.1838, 9.7211, 4.0821)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F2E #462E5F
analogous
#5F5F2E #475F2E #2E5F2E
triadic
#475F2E #2E475F #5F2E47
tetradic
#475F2E #2E5F5F #462E5F #5F2E2E
square
#475F2E #2E5F5F #462E5F #5F2E2E
split-complementary
#475F2E #2E2E5F #5F2E5F
monochromatic
#0F150A #28361A #475F2E #668842 #85AF59

Accessibility & contrast

On white

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

On black

2.94
#475F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##475F2E#FFFFFF#000000##FFFFFF
##475F2E1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #475f2e;
/* rgb */ color: rgb(71, 95, 46);
/* oklch */ color: oklch(45.3% 0.079 130.4);
Tailwind
colors: {
  custom: {
    50: '#7b8c68',
    500: '#475f2e',
    950: '#000000',
  },
}
SCSS
$custom: #475f2e;
$custom-light: #7b8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#475f2e",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 89.388,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.07903,
    "h": 130.4
  },
  "luminance": 0.09721
}

Semantic roles & 50–950 ramp

primary
#475F2E
secondary
#745891
accent
#5DCB93
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #475F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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