#727717#727717

#727717 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.7% C 0.113 H 112.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#727717
RGBrgb(114, 119, 23)
HSLhsl(63, 68%, 28%)
HSVhsv(63, 81%, 47%)
CMYKcmyk(4.2%, 0%, 80.7%, 53.3%)
CIE-LABlab(48.05, -13.97, 47.83)
CIE-LCHlch(48.05, 49.83, 106.28°)
OKLaboklab(54.74% -0.0436 0.1044)
OKLCHoklch(54.74% 0.113 112.7)
XYZxyz(13.6914, 16.8332, 3.3384)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727717 #1C1777
analogous
#774C17 #727717 #427717
triadic
#727717 #177277 #771772
tetradic
#727717 #17774C #1C1777 #771742
square
#727717 #17774C #1C1777 #771742
split-complementary
#727717 #174277 #4C1777
monochromatic
#191A05 #41440D #727717 #A3AA21 #CFD731

Accessibility & contrast

On white

4.81
#727717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#727717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727717
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727717#FFFFFF#000000##FFFFFF
##7277171.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#7A6F65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #727717;
/* rgb */ color: rgb(114, 119, 23);
/* oklch */ color: oklch(54.7% 0.113 112.7);
Tailwind
colors: {
  custom: {
    50: '#9e9e5d',
    500: '#727717',
    950: '#000000',
  },
}
SCSS
$custom: #727717;
$custom-light: #9e9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#727717",
  "rgb": {
    "r": 114,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 63.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.11314,
    "h": 112.7
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#727717
secondary
#433EAC
accent
#3DEA46
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727717

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

Preview Lab → · Contrast checker → · Palette generator →

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