#475239#475239

#475239 is a dark, muted yellow-green. Relative luminance 0.077; OKLCH L 42.1% C 0.042 H 127.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#475239
RGBrgb(71, 82, 57)
HSLhsl(86, 18%, 27%)
HSVhsv(86, 30%, 32%)
CMYKcmyk(13.4%, 0%, 30.5%, 67.8%)
CIE-LABlab(33.28, -9.51, 13.28)
CIE-LCHlch(33.28, 16.33, 125.60°)
OKLaboklab(42.15% -0.0256 0.0335)
OKLCHoklch(42.15% 0.042 127.4)
XYZxyz(6.3542, 7.6695, 5.0157)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475239 #443952
analogous
#525139 #475239 #3A5239
triadic
#475239 #394752 #523947
tetradic
#475239 #395251 #443952 #52393A
square
#475239 #395251 #443952 #52393A
split-complementary
#475239 #393A52 #513952
monochromatic
#10120D #282E20 #475239 #667652 #85996C

Accessibility & contrast

On white

8.29
#475239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#475239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475239
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475239#FFFFFF#000000##FFFFFF
##4752391.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F37
Deuteranopia (green-blind)
#534E3A
Tritanopia (blue-blind)
#48504B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #475239;
/* rgb */ color: rgb(71, 82, 57);
/* oklch */ color: oklch(42.1% 0.042 127.4);
Tailwind
colors: {
  custom: {
    50: '#7a826f',
    500: '#475239',
    950: '#000000',
  },
}
SCSS
$custom: #475239;
$custom-light: #7a826f;
$custom-dark: #000000;
JSON
{
  "hex": "#475239",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 57
  },
  "hsl": {
    "h": 86.4,
    "s": 17.986,
    "l": 27.255
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.04215,
    "h": 127.4
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#475239
secondary
#726582
accent
#6DBB8F
background
#F7F7F6
surface
#EDEEEC
border
#C8C9C7
text
#090A07
muted
#7B7C7A

Preview Lab

Preview with #475239

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

Preview Lab → · Contrast checker → · Palette generator →

#475239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva