#717018#717018

#717018 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.0% C 0.105 H 108.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#717018
RGBrgb(113, 112, 24)
HSLhsl(59, 65%, 27%)
HSVhsv(59, 79%, 44%)
CMYKcmyk(0%, 0.9%, 78.8%, 55.7%)
CIE-LABlab(45.86, -10.55, 45.46)
CIE-LCHlch(45.86, 46.67, 103.07°)
OKLaboklab(52.97% -0.034 0.0996)
OKLCHoklch(52.97% 0.105 108.8)
XYZxyz(12.7696, 15.1654, 3.1185)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717018 #181971
analogous
#714418 #717018 #467118
triadic
#717018 #187170 #701871
tetradic
#717018 #187144 #181971 #711846
square
#717018 #187144 #181971 #711846
split-complementary
#717018 #184671 #441871
monochromatic
#191905 #3F3E0D #717018 #A3A223 #D3D130

Accessibility & contrast

On white

5.21
#717018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#717018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717018
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717018#FFFFFF#000000##FFFFFF
##7170181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#7A685F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #717018;
/* rgb */ color: rgb(113, 112, 24);
/* oklch */ color: oklch(53.0% 0.105 108.8);
Tailwind
colors: {
  custom: {
    50: '#9d985d',
    500: '#717018',
    950: '#000000',
  },
}
SCSS
$custom: #717018;
$custom-light: #9d985d;
$custom-dark: #000000;
JSON
{
  "hex": "#717018",
  "rgb": {
    "r": 113,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 59.326,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.10522,
    "h": 108.8
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#717018
secondary
#3E40A6
accent
#42E840
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #717018

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

Preview Lab → · Contrast checker → · Palette generator →

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