#717A18#717A18

#717A18 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.4% C 0.116 H 115.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#717A18
RGBrgb(113, 122, 24)
HSLhsl(66, 67%, 29%)
HSVhsv(66, 80%, 48%)
CMYKcmyk(7.4%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.88, -16.00, 48.23)
CIE-LCHlch(48.88, 50.81, 108.36°)
OKLaboklab(55.38% -0.0491 0.1055)
OKLCHoklch(55.38% 0.116 115)
XYZxyz(13.9349, 17.4960, 3.5070)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717A18 #21187A
analogous
#7A5218 #717A18 #407A18
triadic
#717A18 #18717A #7A1871
tetradic
#717A18 #187A52 #21187A #7A1840
square
#717A18 #187A52 #21187A #7A1840
split-complementary
#717A18 #18407A #52187A
monochromatic
#181A05 #42470E #717A18 #A0AD22 #C8D735

Accessibility & contrast

On white

4.67
#717A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#717A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #717A18
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717A18#FFFFFF#000000##FFFFFF
##717A181.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#797268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #717a18;
/* rgb */ color: rgb(113, 122, 24);
/* oklch */ color: oklch(55.4% 0.116 115.0);
Tailwind
colors: {
  custom: {
    50: '#9da05e',
    500: '#717a18',
    950: '#000000',
  },
}
SCSS
$custom: #717a18;
$custom-light: #9da05e;
$custom-dark: #000000;
JSON
{
  "hex": "#717a18",
  "rgb": {
    "r": 113,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 65.51,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55383,
    "c": 0.11633,
    "h": 115
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#717A18
secondary
#493FAF
accent
#3EEA4E
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717A18

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

Preview Lab → · Contrast checker → · Palette generator →

#717A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva