#475A15#475A15

#475A15 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.7% C 0.095 H 123.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#475A15
RGBrgb(71, 90, 21)
HSLhsl(77, 62%, 22%)
HSVhsv(77, 77%, 35%)
CMYKcmyk(21.1%, 0%, 76.7%, 64.7%)
CIE-LABlab(35.41, -18.29, 35.41)
CIE-LCHlch(35.41, 39.85, 117.32°)
OKLaboklab(43.7% -0.0531 0.0792)
OKLCHoklch(43.7% 0.095 123.8)
XYZxyz(6.3901, 8.7060, 2.0531)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475A15 #28155A
analogous
#5A4B15 #475A15 #255A15
triadic
#475A15 #15475A #5A1547
tetradic
#475A15 #155A4B #28155A #5A1525
square
#475A15 #155A4B #28155A #5A1525
split-complementary
#475A15 #15255A #4B155A
monochromatic
#141906 #202809 #475A15 #6E8C21 #95BD2C

Accessibility & contrast

On white

7.66
#475A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#475A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475A15
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475A15#FFFFFF#000000##FFFFFF
##475A151.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#4B554D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475a15;
/* rgb */ color: rgb(71, 90, 21);
/* oklch */ color: oklch(43.7% 0.095 123.8);
Tailwind
colors: {
  custom: {
    50: '#7d8858',
    500: '#475a15',
    950: '#000000',
  },
}
SCSS
$custom: #475a15;
$custom-light: #7d8858;
$custom-dark: #000000;
JSON
{
  "hex": "#475a15",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 76.522,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.0954,
    "h": 123.8
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#475A15
secondary
#523992
accent
#43E56F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475A15

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

Preview Lab → · Contrast checker → · Palette generator →

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