#717C1B#717C1B

#717C1B is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 55.9% C 0.117 H 116.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#717C1B
RGBrgb(113, 124, 27)
HSLhsl(67, 64%, 30%)
HSVhsv(67, 78%, 49%)
CMYKcmyk(8.9%, 0%, 78.2%, 51.4%)
CIE-LABlab(49.50, -16.93, 47.79)
CIE-LCHlch(49.50, 50.70, 109.51°)
OKLaboklab(55.89% -0.0514 0.1051)
OKLCHoklch(55.89% 0.117 116.1)
XYZxyz(14.2159, 18.0054, 3.7632)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717C1B #261B7C
analogous
#7C571B #717C1B #417C1B
triadic
#717C1B #1B717C #7C1B71
tetradic
#717C1B #1B7C57 #261B7C #7C1B41
square
#717C1B #1B7C57 #261B7C #7C1B41
split-complementary
#717C1B #1B417C #571B7C
monochromatic
#171905 #434A10 #717C1B #9FAE26 #C3D53D

Accessibility & contrast

On white

4.56
#717C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#717C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717C1B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717C1B#FFFFFF#000000##000000
##717C1B1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#79756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #717c1b;
/* rgb */ color: rgb(113, 124, 27);
/* oklch */ color: oklch(55.9% 0.117 116.1);
Tailwind
colors: {
  custom: {
    50: '#9da160',
    500: '#717c1b',
    950: '#000000',
  },
}
SCSS
$custom: #717c1b;
$custom-light: #9da160;
$custom-dark: #000000;
JSON
{
  "hex": "#717c1b",
  "rgb": {
    "r": 113,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 66.804,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.117,
    "h": 116.1
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#717C1B
secondary
#4F43B0
accent
#41E753
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #717C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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