#474F28#474F28

#474F28 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 41.0% C 0.060 H 118.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#474F28
RGBrgb(71, 79, 40)
HSLhsl(72, 33%, 23%)
HSVhsv(72, 49%, 31%)
CMYKcmyk(10.1%, 0%, 49.4%, 69%)
CIE-LABlab(32.00, -10.30, 21.88)
CIE-LCHlch(32.00, 24.19, 115.20°)
OKLaboklab(41.02% -0.0288 0.0527)
OKLCHoklch(41.02% 0.06 118.6)
XYZxyz(5.7776, 7.0848, 3.0702)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F28 #30284F
analogous
#4F4328 #474F28 #334F28
triadic
#474F28 #28474F #4F2847
tetradic
#474F28 #284F43 #30284F #4F2833
square
#474F28 #284F43 #30284F #4F2833
split-complementary
#474F28 #28334F #43284F
monochromatic
#12140A #222613 #474F28 #6C783D #90A051

Accessibility & contrast

On white

8.69
#474F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#474F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F28
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F28#FFFFFF#000000##FFFFFF
##474F281.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B25
Deuteranopia (green-blind)
#534B2A
Tritanopia (blue-blind)
#4A4B46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #474f28;
/* rgb */ color: rgb(71, 79, 40);
/* oklch */ color: oklch(41.0% 0.060 118.6);
Tailwind
colors: {
  custom: {
    50: '#7b8063',
    500: '#474f28',
    950: '#000000',
  },
}
SCSS
$custom: #474f28;
$custom-light: #7b8063;
$custom-dark: #000000;
JSON
{
  "hex": "#474f28",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 72.308,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.06005,
    "h": 118.6
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#474F28
secondary
#5B5182
accent
#5FC975
background
#F7F7F5
surface
#EEEEEA
border
#C9C9C6
text
#090A05
muted
#7B7C79

Preview Lab

Preview with #474F28

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

Preview Lab → · Contrast checker → · Palette generator →

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