#717E22#717E22

#717E22 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.4% C 0.115 H 117.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#717E22
RGBrgb(113, 126, 34)
HSLhsl(68, 58%, 31%)
HSVhsv(68, 73%, 49%)
CMYKcmyk(10.3%, 0%, 73%, 50.6%)
CIE-LABlab(50.15, -17.61, 45.81)
CIE-LCHlch(50.15, 49.08, 111.03°)
OKLaboklab(56.43% -0.0526 0.1022)
OKLCHoklch(56.43% 0.115 117.3)
XYZxyz(14.5600, 18.5481, 4.3262)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717E22 #2F227E
analogous
#7E5D22 #717E22 #437E22
triadic
#717E22 #22717E #7E2271
tetradic
#717E22 #227E5D #2F227E #7E2243
square
#717E22 #227E5D #2F227E #7E2243
split-complementary
#717E22 #22437E #5D227E
monochromatic
#1B1E08 #464E15 #717E22 #9CAE2F #BCCF4C

Accessibility & contrast

On white

4.46
#717E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#717E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #717E22
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717E22#FFFFFF#000000##000000
##717E221.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#78776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #717e22;
/* rgb */ color: rgb(113, 126, 34);
/* oklch */ color: oklch(56.4% 0.115 117.3);
Tailwind
colors: {
  custom: {
    50: '#9da364',
    500: '#717e22',
    950: '#000000',
  },
}
SCSS
$custom: #717e22;
$custom-light: #9da364;
$custom-dark: #000000;
JSON
{
  "hex": "#717e22",
  "rgb": {
    "r": 113,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 68.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.11497,
    "h": 117.3
  },
  "luminance": 0.18548
}

Semantic roles & 50–950 ramp

primary
#717E22
secondary
#5A4BB1
accent
#47E15D
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #717E22

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

Preview Lab → · Contrast checker → · Palette generator →

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