#717815#717815

#717815 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.9% C 0.116 H 113.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#717815
RGBrgb(113, 120, 21)
HSLhsl(64, 70%, 28%)
HSVhsv(64, 83%, 47%)
CMYKcmyk(5.8%, 0%, 82.5%, 52.9%)
CIE-LABlab(48.26, -15.05, 48.62)
CIE-LCHlch(48.26, 50.90, 107.21°)
OKLaboklab(54.88% -0.0467 0.1057)
OKLCHoklch(54.88% 0.116 113.9)
XYZxyz(13.6623, 16.9981, 3.2706)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717815 #1C1578
analogous
#784D15 #717815 #407815
triadic
#717815 #157178 #781571
tetradic
#717815 #15784D #1C1578 #781540
square
#717815 #15784D #1C1578 #781540
split-complementary
#717815 #154078 #4D1578
monochromatic
#191A05 #40440C #717815 #A2AC1E #CEDA2D

Accessibility & contrast

On white

4.77
#717815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#717815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717815
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717815#FFFFFF#000000##FFFFFF
##7178151.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#797066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #717815;
/* rgb */ color: rgb(113, 120, 21);
/* oklch */ color: oklch(54.9% 0.116 113.9);
Tailwind
colors: {
  custom: {
    50: '#9d9e5d',
    500: '#717815',
    950: '#000000',
  },
}
SCSS
$custom: #717815;
$custom-light: #9d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#717815",
  "rgb": {
    "r": 113,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 64.242,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.11559,
    "h": 113.9
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#717815
secondary
#433BAE
accent
#3BED47
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717815

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

Preview Lab → · Contrast checker → · Palette generator →

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