#475F2A#475F2A

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

Color values

HEX#475F2A
RGBrgb(71, 95, 42)
HSLhsl(87, 39%, 27%)
HSVhsv(87, 56%, 37%)
CMYKcmyk(25.3%, 0%, 55.8%, 62.7%)
CIE-LABlab(37.28, -19.00, 27.17)
CIE-LCHlch(37.28, 33.15, 124.97°)
OKLaboklab(45.28% -0.053 0.0645)
OKLCHoklch(45.28% 0.084 129.4)
XYZxyz(7.1086, 9.6910, 3.6861)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F2A #422A5F
analogous
#5F5D2A #475F2A #2D5F2A
triadic
#475F2A #2A475F #5F2A47
tetradic
#475F2A #2A5F5D #422A5F #5F2A2D
square
#475F2A #2A5F5D #422A5F #5F2A2D
split-complementary
#475F2A #2A2D5F #5D2A5F
monochromatic
#101509 #273517 #475F2A #67893D #86B251

Accessibility & contrast

On white

7.15
#475F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475F2A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F2A#FFFFFF#000000##FFFFFF
##475F2A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635925
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#495B53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #475f2a;
/* rgb */ color: rgb(71, 95, 42);
/* oklch */ color: oklch(45.3% 0.084 129.4);
Tailwind
colors: {
  custom: {
    50: '#7c8c65',
    500: '#475f2a',
    950: '#000000',
  },
}
SCSS
$custom: #475f2a;
$custom-light: #7c8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#475f2a",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 87.17,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.0835,
    "h": 129.4
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#475F2A
secondary
#6F5391
accent
#59CF8E
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #475F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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