#475F28#475F28

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

Color values

HEX#475F28
RGBrgb(71, 95, 40)
HSLhsl(86, 41%, 26%)
HSVhsv(86, 58%, 37%)
CMYKcmyk(25.3%, 0%, 57.9%, 62.7%)
CIE-LABlab(37.26, -19.24, 28.22)
CIE-LCHlch(37.26, 34.15, 124.29°)
OKLaboklab(45.25% -0.0538 0.0666)
OKLCHoklch(45.25% 0.086 128.9)
XYZxyz(7.0737, 9.6771, 3.5023)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F28 #40285F
analogous
#5F5C28 #475F28 #2C5F28
triadic
#475F28 #28475F #5F2847
tetradic
#475F28 #285F5C #40285F #5F282C
square
#475F28 #285F5C #40285F #5F282C
split-complementary
#475F28 #282C5F #5C285F
monochromatic
#101609 #273416 #475F28 #678A3A #87B44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##475F28#FFFFFF#000000##FFFFFF
##475F281.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)
#635923
Deuteranopia (green-blind)
#60572C
Tritanopia (blue-blind)
#495B53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #475f28;
/* rgb */ color: rgb(71, 95, 40);
/* oklch */ color: oklch(45.2% 0.086 128.9);
Tailwind
colors: {
  custom: {
    50: '#7c8c64',
    500: '#475f28',
    950: '#000000',
  },
}
SCSS
$custom: #475f28;
$custom-light: #7c8c64;
$custom-dark: #000000;
JSON
{
  "hex": "#475f28",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 86.182,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.08566,
    "h": 128.9
  },
  "luminance": 0.09677
}

Semantic roles & 50–950 ramp

primary
#475F28
secondary
#6D5192
accent
#57D18C
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #475F28

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

Preview Lab → · Contrast checker → · Palette generator →

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