#717F18#717F18

#717F18 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.6% C 0.122 H 117.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#717F18
RGBrgb(113, 127, 24)
HSLhsl(68, 68%, 30%)
HSVhsv(68, 81%, 50%)
CMYKcmyk(11%, 0%, 81.1%, 50.2%)
CIE-LABlab(50.40, -18.65, 49.60)
CIE-LCHlch(50.40, 52.99, 110.60°)
OKLaboklab(56.61% -0.0564 0.1084)
OKLCHoklch(56.61% 0.122 117.5)
XYZxyz(14.5647, 18.7556, 3.7169)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717F18 #26187F
analogous
#7F5918 #717F18 #3E7F18
triadic
#717F18 #18717F #7F1871
tetradic
#717F18 #187F59 #26187F #7F183E
square
#717F18 #187F59 #26187F #7F183E
split-complementary
#717F18 #183E7F #59187F
monochromatic
#171A05 #434C0E #717F18 #9FB222 #C3D938

Accessibility & contrast

On white

4.42
#717F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#717F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717F18
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717F18#FFFFFF#000000##000000
##717F181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#877822
Tritanopia (blue-blind)
#78776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #717f18;
/* rgb */ color: rgb(113, 127, 24);
/* oklch */ color: oklch(56.6% 0.122 117.5);
Tailwind
colors: {
  custom: {
    50: '#9da45f',
    500: '#717f18',
    950: '#000000',
  },
}
SCSS
$custom: #717f18;
$custom-light: #9da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#717f18",
  "rgb": {
    "r": 113,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 68.155,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.12219,
    "h": 117.5
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#717F18
secondary
#4F3FB3
accent
#3DEB54
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #717F18

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

Preview Lab → · Contrast checker → · Palette generator →

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