#717E12#717E12

#717E12 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.3% C 0.124 H 116.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#717E12
RGBrgb(113, 126, 18)
HSLhsl(67, 75%, 28%)
HSVhsv(67, 86%, 49%)
CMYKcmyk(10.3%, 0%, 85.7%, 50.6%)
CIE-LABlab(50.07, -18.35, 51.05)
CIE-LCHlch(50.07, 54.25, 109.77°)
OKLaboklab(56.33% -0.056 0.1104)
OKLCHoklch(56.33% 0.124 116.9)
XYZxyz(14.3805, 18.4763, 3.3809)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717E12 #1F127E
analogous
#7E5512 #717E12 #3B7E12
triadic
#717E12 #12717E #7E1271
tetradic
#717E12 #127E55 #1F127E #7E123B
square
#717E12 #127E55 #1F127E #7E123B
split-complementary
#717E12 #123B7E #55127E
monochromatic
#181B04 #41480A #717E12 #A1B41A #CBE12A

Accessibility & contrast

On white

4.47
#717E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#717E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717E12
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717E12#FFFFFF#000000##000000
##717E121.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#79766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #717e12;
/* rgb */ color: rgb(113, 126, 18);
/* oklch */ color: oklch(56.3% 0.124 116.9);
Tailwind
colors: {
  custom: {
    50: '#9da35d',
    500: '#717e12',
    950: '#000000',
  },
}
SCSS
$custom: #717e12;
$custom-light: #9da35d;
$custom-dark: #000000;
JSON
{
  "hex": "#717e12",
  "rgb": {
    "r": 113,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 67.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.1238,
    "h": 116.9
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#717E12
secondary
#4738B4
accent
#36F24D
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #717E12

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

Preview Lab → · Contrast checker → · Palette generator →

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