#717F1B#717F1B

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

Color values

HEX#717F1B
RGBrgb(113, 127, 27)
HSLhsl(68, 65%, 30%)
HSVhsv(68, 79%, 50%)
CMYKcmyk(11%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.42, -18.51, 48.64)
CIE-LCHlch(50.42, 52.04, 110.84°)
OKLaboklab(56.62% -0.0558 0.1069)
OKLCHoklch(56.62% 0.121 117.6)
XYZxyz(14.5976, 18.7687, 3.8904)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717F1B #291B7F
analogous
#7F5B1B #717F1B #3F7F1B
triadic
#717F1B #1B717F #7F1B71
tetradic
#717F1B #1B7F5B #291B7F #7F1B3F
square
#717F1B #1B7F5B #291B7F #7F1B3F
split-complementary
#717F1B #1B3F7F #5B1B7F
monochromatic
#171A06 #444D10 #717F1B #9EB126 #C1D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##717F1B#FFFFFF#000000##000000
##717F1B1.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)
#887802
Deuteranopia (green-blind)
#877824
Tritanopia (blue-blind)
#78786C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #717f1b;
/* rgb */ color: rgb(113, 127, 27);
/* oklch */ color: oklch(56.6% 0.121 117.6);
Tailwind
colors: {
  custom: {
    50: '#9da460',
    500: '#717f1b',
    950: '#000000',
  },
}
SCSS
$custom: #717f1b;
$custom-light: #9da460;
$custom-dark: #000000;
JSON
{
  "hex": "#717f1b",
  "rgb": {
    "r": 113,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 68.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.12057,
    "h": 117.6
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#717F1B
secondary
#5343B3
accent
#40E857
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #717F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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