#727718#727718

#727718 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#727718
RGBrgb(114, 119, 24)
HSLhsl(63, 66%, 28%)
HSVhsv(63, 80%, 47%)
CMYKcmyk(4.2%, 0%, 79.8%, 53.3%)
CIE-LABlab(48.05, -13.93, 47.51)
CIE-LCHlch(48.05, 49.51, 106.34°)
OKLaboklab(54.74% -0.0434 0.1039)
OKLCHoklch(54.74% 0.113 112.7)
XYZxyz(13.7016, 16.8373, 3.3921)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727718 #1D1877
analogous
#774C18 #727718 #427718
triadic
#727718 #187277 #771872
tetradic
#727718 #18774C #1D1877 #771842
square
#727718 #18774C #1D1877 #771842
split-complementary
#727718 #184277 #4C1877
monochromatic
#181905 #41440E #727718 #A3AA22 #CDD633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727718#FFFFFF#000000##FFFFFF
##7277181.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: #727718;
/* rgb */ color: rgb(114, 119, 24);
/* oklch */ color: oklch(54.7% 0.113 112.7);
Tailwind
colors: {
  custom: {
    50: '#9e9e5e',
    500: '#727718',
    950: '#000000',
  },
}
SCSS
$custom: #727718;
$custom-light: #9e9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#727718",
  "rgb": {
    "r": 114,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 63.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.1126,
    "h": 112.7
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#727718
secondary
#453FAC
accent
#3EE947
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727718

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

Preview Lab → · Contrast checker → · Palette generator →

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