#727C17#727C17

#727C17 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.119 H 115.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#727C17
RGBrgb(114, 124, 23)
HSLhsl(66, 69%, 29%)
HSVhsv(66, 81%, 49%)
CMYKcmyk(8.1%, 0%, 81.5%, 51.4%)
CIE-LABlab(49.56, -16.65, 49.19)
CIE-LCHlch(49.56, 51.94, 108.70°)
OKLaboklab(55.95% -0.051 0.1073)
OKLCHoklch(55.95% 0.119 115.4)
XYZxyz(14.3022, 18.0548, 3.5420)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C17 #21177C
analogous
#7C5417 #727C17 #407C17
triadic
#727C17 #17727C #7C1772
tetradic
#727C17 #177C54 #21177C #7C1740
square
#727C17 #177C54 #21177C #7C1740
split-complementary
#727C17 #17407C #54177C
monochromatic
#181A05 #43480D #727C17 #A1B021 #C9D934

Accessibility & contrast

On white

4.55
#727C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#727C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C17
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C17#FFFFFF#000000##000000
##727C171.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#7A746A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c17;
/* rgb */ color: rgb(114, 124, 23);
/* oklch */ color: oklch(56.0% 0.119 115.4);
Tailwind
colors: {
  custom: {
    50: '#9ea15e',
    500: '#727c17',
    950: '#000000',
  },
}
SCSS
$custom: #727c17;
$custom-light: #9ea15e;
$custom-dark: #000000;
JSON
{
  "hex": "#727c17",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 65.941,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.11881,
    "h": 115.4
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#727C17
secondary
#493EB1
accent
#3CEC4E
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727C17

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

Preview Lab → · Contrast checker → · Palette generator →

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