#726C17#726C17

#726C17 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.1% C 0.102 H 105.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#726C17
RGBrgb(114, 108, 23)
HSLhsl(56, 66%, 27%)
HSVhsv(56, 80%, 45%)
CMYKcmyk(0%, 5.3%, 79.8%, 55.3%)
CIE-LABlab(44.75, -7.88, 44.83)
CIE-LCHlch(44.75, 45.52, 99.97°)
OKLaboklab(52.1% -0.0267 0.098)
OKLCHoklch(52.1% 0.102 105.2)
XYZxyz(12.4572, 14.3649, 2.9270)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#726C17 #171D72
analogous
#723F17 #726C17 #4B7217
triadic
#726C17 #17726C #6C1772
tetradic
#726C17 #17723F #171D72 #72174B
square
#726C17 #17723F #171D72 #72174B
split-complementary
#726C17 #174B72 #3F1772
monochromatic
#191805 #3F3C0D #726C17 #A59C21 #D5CA2E

Accessibility & contrast

On white

5.42
#726C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#726C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #726C17
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##726C17#FFFFFF#000000##FFFFFF
##726C171.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#7B645C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #726c17;
/* rgb */ color: rgb(114, 108, 23);
/* oklch */ color: oklch(52.1% 0.102 105.2);
Tailwind
colors: {
  custom: {
    50: '#9e955c',
    500: '#726c17',
    950: '#000000',
  },
}
SCSS
$custom: #726c17;
$custom-light: #9e955c;
$custom-dark: #000000;
JSON
{
  "hex": "#726c17",
  "rgb": {
    "r": 114,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 56.044,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.10155,
    "h": 105.2
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#726C17
secondary
#3D44A8
accent
#4AE93E
background
#FAF9F5
surface
#F3F1E9
border
#CDCBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #726C17

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

Preview Lab → · Contrast checker → · Palette generator →

#726C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva