#476515#476515

#476515 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.7% C 0.111 H 128.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#476515
RGBrgb(71, 101, 21)
HSLhsl(83, 66%, 24%)
HSVhsv(83, 79%, 40%)
CMYKcmyk(29.7%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.07, -24.00, 38.99)
CIE-LCHlch(39.07, 45.78, 121.61°)
OKLaboklab(46.67% -0.0687 0.0867)
OKLCHoklch(46.67% 0.111 128.4)
XYZxyz(7.3876, 10.7009, 2.3856)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476515 #331565
analogous
#655B15 #476515 #1F6515
triadic
#476515 #154765 #651547
tetradic
#476515 #15655B #331565 #65151F
square
#476515 #15655B #331565 #65151F
split-complementary
#476515 #151F65 #5B1565
monochromatic
#121905 #23320A #476515 #6B9820 #8ECA2A

Accessibility & contrast

On white

6.69
#476515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#476515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476515
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476515#FFFFFF#000000##FFFFFF
##4765151.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#4A6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #476515;
/* rgb */ color: rgb(71, 101, 21);
/* oklch */ color: oklch(46.7% 0.111 128.4);
Tailwind
colors: {
  custom: {
    50: '#7d9159',
    500: '#476515',
    950: '#000000',
  },
}
SCSS
$custom: #476515;
$custom-light: #7d9159;
$custom-dark: #000000;
JSON
{
  "hex": "#476515",
  "rgb": {
    "r": 71,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 82.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.11067,
    "h": 128.4
  },
  "luminance": 0.10701
}

Semantic roles & 50–950 ramp

primary
#476515
secondary
#5F3A9C
accent
#3FE97F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #476515

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

Preview Lab → · Contrast checker → · Palette generator →

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