#717218#717218

#717218 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.107 H 110.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#717218
RGBrgb(113, 114, 24)
HSLhsl(61, 65%, 27%)
HSVhsv(61, 79%, 45%)
CMYKcmyk(0.9%, 0%, 78.9%, 55.3%)
CIE-LABlab(46.46, -11.66, 46.02)
CIE-LCHlch(46.46, 47.47, 104.22°)
OKLaboklab(53.45% -0.0371 0.1008)
OKLCHoklch(53.45% 0.107 110.2)
XYZxyz(12.9927, 15.6117, 3.1929)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717218 #191872
analogous
#724618 #717218 #447218
triadic
#717218 #187172 #721871
tetradic
#717218 #187246 #191872 #721844
square
#717218 #187246 #191872 #721844
split-complementary
#717218 #184472 #461872
monochromatic
#191905 #3F3F0D #717218 #A3A523 #D2D431

Accessibility & contrast

On white

5.09
#717218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#717218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717218
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717218#FFFFFF#000000##FFFFFF
##7172181.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#796A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #717218;
/* rgb */ color: rgb(113, 114, 24);
/* oklch */ color: oklch(53.4% 0.107 110.2);
Tailwind
colors: {
  custom: {
    50: '#9d9a5d',
    500: '#717218',
    950: '#000000',
  },
}
SCSS
$custom: #717218;
$custom-light: #9d9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#717218",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 60.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.10736,
    "h": 110.2
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#717218
secondary
#403EA7
accent
#40E841
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #717218

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

Preview Lab → · Contrast checker → · Palette generator →

#717218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva