#475B15#475B15

#475B15 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.0% C 0.097 H 124.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#475B15
RGBrgb(71, 91, 21)
HSLhsl(77, 63%, 22%)
HSVhsv(77, 77%, 36%)
CMYKcmyk(22%, 0%, 76.9%, 64.3%)
CIE-LABlab(35.74, -18.83, 35.74)
CIE-LCHlch(35.74, 40.39, 117.78°)
OKLaboklab(43.97% -0.0546 0.0799)
OKLCHoklch(43.97% 0.097 124.3)
XYZxyz(6.4750, 8.8758, 2.0814)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475B15 #29155B
analogous
#5B4C15 #475B15 #245B15
triadic
#475B15 #15475B #5B1547
tetradic
#475B15 #155B4C #29155B #5B1524
square
#475B15 #155B4C #29155B #5B1524
split-complementary
#475B15 #15245B #4C155B
monochromatic
#131906 #20290A #475B15 #6E8D20 #95BE2C

Accessibility & contrast

On white

7.57
#475B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#475B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475B15
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475B15#FFFFFF#000000##FFFFFF
##475B151.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605509
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#4B564D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475b15;
/* rgb */ color: rgb(71, 91, 21);
/* oklch */ color: oklch(44.0% 0.097 124.3);
Tailwind
colors: {
  custom: {
    50: '#7d8958',
    500: '#475b15',
    950: '#000000',
  },
}
SCSS
$custom: #475b15;
$custom-light: #7d8958;
$custom-dark: #000000;
JSON
{
  "hex": "#475b15",
  "rgb": {
    "r": 71,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 77.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.09679,
    "h": 124.3
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#475B15
secondary
#533992
accent
#42E671
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475B15

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

Preview Lab → · Contrast checker → · Palette generator →

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