#475815#475815

#475815 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.2% C 0.093 H 122.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#475815
RGBrgb(71, 88, 21)
HSLhsl(75, 61%, 21%)
HSVhsv(75, 76%, 35%)
CMYKcmyk(19.3%, 0%, 76.1%, 65.5%)
CIE-LABlab(34.75, -17.21, 34.75)
CIE-LCHlch(34.75, 38.78, 116.35°)
OKLaboklab(43.16% -0.0501 0.0779)
OKLCHoklch(43.16% 0.093 122.8)
XYZxyz(6.2237, 8.3732, 1.9976)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475815 #261558
analogous
#584815 #475815 #265815
triadic
#475815 #154758 #581547
tetradic
#475815 #155848 #261558 #581526
square
#475815 #155848 #261558 #581526
split-complementary
#475815 #152658 #481558
monochromatic
#141906 #1F2709 #475815 #6F8921 #97BB2D

Accessibility & contrast

On white

7.85
#475815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#475815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475815
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475815#FFFFFF#000000##FFFFFF
##4758151.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520A
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#4B534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #475815;
/* rgb */ color: rgb(71, 88, 21);
/* oklch */ color: oklch(43.2% 0.093 122.8);
Tailwind
colors: {
  custom: {
    50: '#7d8757',
    500: '#475815',
    950: '#000000',
  },
}
SCSS
$custom: #475815;
$custom-light: #7d8757;
$custom-dark: #000000;
JSON
{
  "hex": "#475815",
  "rgb": {
    "r": 71,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 75.224,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43161,
    "c": 0.09261,
    "h": 122.8
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#475815
secondary
#4F3990
accent
#43E56C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #475815

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

Preview Lab → · Contrast checker → · Palette generator →

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