#475715#475715

#475715 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.9% C 0.091 H 122.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#475715
RGBrgb(71, 87, 21)
HSLhsl(75, 61%, 21%)
HSVhsv(75, 76%, 34%)
CMYKcmyk(18.4%, 0%, 75.9%, 65.9%)
CIE-LABlab(34.42, -16.67, 34.42)
CIE-LCHlch(34.42, 38.24, 115.84°)
OKLaboklab(42.89% -0.0486 0.0772)
OKLCHoklch(42.89% 0.091 122.2)
XYZxyz(6.1422, 8.2101, 1.9704)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475715 #251557
analogous
#574615 #475715 #265715
triadic
#475715 #154757 #571547
tetradic
#475715 #155746 #251557 #571526
square
#475715 #155746 #251557 #571526
split-complementary
#475715 #152657 #461557
monochromatic
#141906 #1F2609 #475715 #6F8821 #97BA2D

Accessibility & contrast

On white

7.95
#475715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#475715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475715
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475715#FFFFFF#000000##FFFFFF
##4757151.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510A
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#4B524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #475715;
/* rgb */ color: rgb(71, 87, 21);
/* oklch */ color: oklch(42.9% 0.091 122.2);
Tailwind
colors: {
  custom: {
    50: '#7c8657',
    500: '#475715',
    950: '#000000',
  },
}
SCSS
$custom: #475715;
$custom-light: #7c8657;
$custom-dark: #000000;
JSON
{
  "hex": "#475715",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 74.545,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.09122,
    "h": 122.2
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#475715
secondary
#4E398F
accent
#44E46B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475715

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

Preview Lab → · Contrast checker → · Palette generator →

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