#717918#717918

#717918 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.1% C 0.115 H 114.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#717918
RGBrgb(113, 121, 24)
HSLhsl(65, 67%, 28%)
HSVhsv(65, 80%, 47%)
CMYKcmyk(6.6%, 0%, 80.2%, 52.5%)
CIE-LABlab(48.58, -15.47, 47.95)
CIE-LCHlch(48.58, 50.38, 107.88°)
OKLaboklab(55.14% -0.0476 0.1049)
OKLCHoklch(55.14% 0.115 114.4)
XYZxyz(13.8127, 17.2517, 3.4662)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717918 #201879
analogous
#795018 #717918 #407918
triadic
#717918 #187179 #791871
tetradic
#717918 #187950 #201879 #791840
square
#717918 #187950 #201879 #791840
split-complementary
#717918 #184079 #501879
monochromatic
#181A05 #41460E #717918 #A1AC22 #C9D735

Accessibility & contrast

On white

4.72
#717918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#717918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717918
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717918#FFFFFF#000000##FFFFFF
##7179181.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#797167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #717918;
/* rgb */ color: rgb(113, 121, 24);
/* oklch */ color: oklch(55.1% 0.115 114.4);
Tailwind
colors: {
  custom: {
    50: '#9d9f5e',
    500: '#717918',
    950: '#000000',
  },
}
SCSS
$custom: #717918;
$custom-light: #9d9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#717918",
  "rgb": {
    "r": 113,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 64.948,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.11518,
    "h": 114.4
  },
  "luminance": 0.17251
}

Semantic roles & 50–950 ramp

primary
#717918
secondary
#483FAE
accent
#3EEA4C
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717918

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

Preview Lab → · Contrast checker → · Palette generator →

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