#727D17#727D17

#727D17 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.120 H 116.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#727D17
RGBrgb(114, 125, 23)
HSLhsl(66, 69%, 29%)
HSVhsv(66, 82%, 49%)
CMYKcmyk(8.8%, 0%, 81.6%, 51%)
CIE-LABlab(49.87, -17.18, 49.47)
CIE-LCHlch(49.87, 52.37, 109.15°)
OKLaboklab(56.19% -0.0525 0.1079)
OKLCHoklch(56.19% 0.12 116)
XYZxyz(14.4281, 18.3067, 3.5839)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D17 #22177D
analogous
#7D5517 #727D17 #3F7D17
triadic
#727D17 #17727D #7D1772
tetradic
#727D17 #177D55 #22177D #7D173F
square
#727D17 #177D55 #22177D #7D173F
split-complementary
#727D17 #173F7D #55177D
monochromatic
#181A05 #43490D #727D17 #A1B121 #C8DA35

Accessibility & contrast

On white

4.51
#727D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#727D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D17
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D17#FFFFFF#000000##000000
##727D171.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#7A756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d17;
/* rgb */ color: rgb(114, 125, 23);
/* oklch */ color: oklch(56.2% 0.120 116.0);
Tailwind
colors: {
  custom: {
    50: '#9ea25e',
    500: '#727d17',
    950: '#000000',
  },
}
SCSS
$custom: #727d17;
$custom-light: #9ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#727d17",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 66.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.11997,
    "h": 116
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#727D17
secondary
#4B3EB2
accent
#3CEC4F
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727D17

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

Preview Lab → · Contrast checker → · Palette generator →

#727D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva