#717C12#717C12

#717C12 is a mid, vivid yellow. Relative luminance 0.180; OKLCH L 55.8% C 0.122 H 115.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#717C12
RGBrgb(113, 124, 18)
HSLhsl(66, 75%, 28%)
HSVhsv(66, 85%, 49%)
CMYKcmyk(8.9%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.46, -17.30, 50.53)
CIE-LCHlch(49.46, 53.41, 108.90°)
OKLaboklab(55.84% -0.0531 0.1093)
OKLCHoklch(55.84% 0.122 115.9)
XYZxyz(14.1273, 17.9699, 3.2965)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717C12 #1D127C
analogous
#7C5212 #717C12 #3C7C12
triadic
#717C12 #12717C #7C1271
tetradic
#717C12 #127C52 #1D127C #7C123C
square
#717C12 #127C52 #1D127C #7C123C
split-complementary
#717C12 #123C7C #52127C
monochromatic
#181B04 #40470A #717C12 #A2B11A #CDE029

Accessibility & contrast

On white

4.57
#717C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#717C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717C12
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717C12#FFFFFF#000000##000000
##717C121.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#85761D
Tritanopia (blue-blind)
#797469
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #717c12;
/* rgb */ color: rgb(113, 124, 18);
/* oklch */ color: oklch(55.8% 0.122 115.9);
Tailwind
colors: {
  custom: {
    50: '#9da15c',
    500: '#717c12',
    950: '#000000',
  },
}
SCSS
$custom: #717c12;
$custom-light: #9da15c;
$custom-dark: #000000;
JSON
{
  "hex": "#717c12",
  "rgb": {
    "r": 113,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 66.226,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.12151,
    "h": 115.9
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#717C12
secondary
#4438B2
accent
#37F14A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #717C12

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

Preview Lab → · Contrast checker → · Palette generator →

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