#475F34#475F34

#475F34 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.4% C 0.072 H 132.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#475F34
RGBrgb(71, 95, 52)
HSLhsl(93, 29%, 29%)
HSVhsv(93, 45%, 37%)
CMYKcmyk(25.3%, 0%, 45.3%, 62.7%)
CIE-LABlab(37.43, -17.66, 21.72)
CIE-LCHlch(37.43, 28.00, 129.12°)
OKLaboklab(45.45% -0.0485 0.0531)
OKLCHoklch(45.45% 0.072 132.4)
XYZxyz(7.3104, 9.7718, 4.7491)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475F34 #4C345F
analogous
#5D5F34 #475F34 #345F37
triadic
#475F34 #34475F #5F3447
tetradic
#475F34 #345D5F #4C345F #5F3734
square
#475F34 #345D5F #4C345F #5F3734
split-complementary
#475F34 #37345F #5F345D
monochromatic
#0F140B #29371E #475F34 #65874A #83AA64

Accessibility & contrast

On white

7.11
#475F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #475F34
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475F34#FFFFFF#000000##FFFFFF
##475F341.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625931
Deuteranopia (green-blind)
#5F5736
Tritanopia (blue-blind)
#485C55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #475f34;
/* rgb */ color: rgb(71, 95, 52);
/* oklch */ color: oklch(45.4% 0.072 132.4);
Tailwind
colors: {
  custom: {
    50: '#7b8c6c',
    500: '#475f34',
    950: '#000000',
  },
}
SCSS
$custom: #475f34;
$custom-light: #7b8c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#475f34",
  "rgb": {
    "r": 71,
    "g": 95,
    "b": 52
  },
  "hsl": {
    "h": 93.488,
    "s": 29.252,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.07192,
    "h": 132.4
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#475F34
secondary
#7A5F90
accent
#62C69A
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#090C07
muted
#7B7D7A

Preview Lab

Preview with #475F34

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

Preview Lab → · Contrast checker → · Palette generator →

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