#717D12#717D12

#717D12 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.1% C 0.123 H 116.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#717D12
RGBrgb(113, 125, 18)
HSLhsl(67, 75%, 28%)
HSVhsv(67, 86%, 49%)
CMYKcmyk(9.6%, 0%, 85.6%, 51%)
CIE-LABlab(49.76, -17.82, 50.79)
CIE-LCHlch(49.76, 53.83, 109.34°)
OKLaboklab(56.08% -0.0546 0.1098)
OKLCHoklch(56.08% 0.123 116.4)
XYZxyz(14.2533, 18.2218, 3.3385)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717D12 #1E127D
analogous
#7D5312 #717D12 #3B7D12
triadic
#717D12 #12717D #7D1271
tetradic
#717D12 #127D53 #1E127D #7D123B
square
#717D12 #127D53 #1E127D #7D123B
split-complementary
#717D12 #123B7D #53127D
monochromatic
#181B04 #41480A #717D12 #A1B21A #CCE029

Accessibility & contrast

On white

4.52
#717D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#717D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717D12
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717D12#FFFFFF#000000##000000
##717D121.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#79756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #717d12;
/* rgb */ color: rgb(113, 125, 18);
/* oklch */ color: oklch(56.1% 0.123 116.4);
Tailwind
colors: {
  custom: {
    50: '#9da25c',
    500: '#717d12',
    950: '#000000',
  },
}
SCSS
$custom: #717d12;
$custom-light: #9da25c;
$custom-dark: #000000;
JSON
{
  "hex": "#717d12",
  "rgb": {
    "r": 113,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 66.729,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.12265,
    "h": 116.4
  },
  "luminance": 0.18222
}

Semantic roles & 50–950 ramp

primary
#717D12
secondary
#4638B3
accent
#36F14B
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #717D12

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

Preview Lab → · Contrast checker → · Palette generator →

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