#726F17#726F17

#726F17 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.8% C 0.105 H 107.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#726F17
RGBrgb(114, 111, 23)
HSLhsl(58, 66%, 27%)
HSVhsv(58, 80%, 45%)
CMYKcmyk(0%, 2.6%, 79.8%, 55.3%)
CIE-LABlab(45.65, -9.57, 45.65)
CIE-LCHlch(45.65, 46.64, 101.84°)
OKLaboklab(52.82% -0.0314 0.0997)
OKLCHoklch(52.82% 0.105 107.5)
XYZxyz(12.7790, 15.0086, 3.0342)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#726F17 #171A72
analogous
#724217 #726F17 #487217
triadic
#726F17 #17726F #6F1772
tetradic
#726F17 #177242 #171A72 #721748
square
#726F17 #177242 #171A72 #721748
split-complementary
#726F17 #174872 #421772
monochromatic
#191905 #3F3D0D #726F17 #A5A121 #D5CF2E

Accessibility & contrast

On white

5.25
#726F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#726F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #726F17
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##726F17#FFFFFF#000000##FFFFFF
##726F171.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#7B675F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #726f17;
/* rgb */ color: rgb(114, 111, 23);
/* oklch */ color: oklch(52.8% 0.105 107.5);
Tailwind
colors: {
  custom: {
    50: '#9e985c',
    500: '#726f17',
    950: '#000000',
  },
}
SCSS
$custom: #726f17;
$custom-light: #9e985c;
$custom-dark: #000000;
JSON
{
  "hex": "#726f17",
  "rgb": {
    "r": 114,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 58.022,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.10456,
    "h": 107.5
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#726F17
secondary
#3D41A8
accent
#44E93E
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #726F17

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

Preview Lab → · Contrast checker → · Palette generator →

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