#727917#727917

#727917 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.115 H 113.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#727917
RGBrgb(114, 121, 23)
HSLhsl(64, 68%, 28%)
HSVhsv(64, 81%, 47%)
CMYKcmyk(5.8%, 0%, 81%, 52.5%)
CIE-LABlab(48.65, -15.05, 48.38)
CIE-LCHlch(48.65, 50.66, 107.28°)
OKLaboklab(55.22% -0.0466 0.1056)
OKLCHoklch(55.22% 0.115 113.8)
XYZxyz(13.9319, 17.3143, 3.4185)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727917 #1E1779
analogous
#794F17 #727917 #417917
triadic
#727917 #177279 #791772
tetradic
#727917 #17794F #1E1779 #791741
square
#727917 #17794F #1E1779 #791741
split-complementary
#727917 #174179 #4F1779
monochromatic
#181A05 #42460D #727917 #A2AC21 #CCD832

Accessibility & contrast

On white

4.71
#727917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#727917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727917
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727917#FFFFFF#000000##FFFFFF
##7279171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#7A7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727917;
/* rgb */ color: rgb(114, 121, 23);
/* oklch */ color: oklch(55.2% 0.115 113.8);
Tailwind
colors: {
  custom: {
    50: '#9e9f5e',
    500: '#727917',
    950: '#000000',
  },
}
SCSS
$custom: #727917;
$custom-light: #9e9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#727917",
  "rgb": {
    "r": 114,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 64.286,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.11539,
    "h": 113.8
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#727917
secondary
#463EAE
accent
#3DEB49
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727917

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

Preview Lab → · Contrast checker → · Palette generator →

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