#727F17#727F17

#727F17 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.7% C 0.122 H 116.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#727F17
RGBrgb(114, 127, 23)
HSLhsl(68, 69%, 29%)
HSVhsv(68, 82%, 50%)
CMYKcmyk(10.2%, 0%, 81.9%, 50.2%)
CIE-LABlab(50.47, -18.24, 50.01)
CIE-LCHlch(50.47, 53.23, 110.03°)
OKLaboklab(56.68% -0.0554 0.109)
OKLCHoklch(56.68% 0.122 116.9)
XYZxyz(14.6838, 18.8182, 3.6692)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F17 #24177F
analogous
#7F5817 #727F17 #3E7F17
triadic
#727F17 #17727F #7F1772
tetradic
#727F17 #177F58 #24177F #7F173E
square
#727F17 #177F58 #24177F #7F173E
split-complementary
#727F17 #173E7F #58177F
monochromatic
#171A05 #434B0E #727F17 #A1B320 #C6DB36

Accessibility & contrast

On white

4.41
#727F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#727F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F17
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F17#FFFFFF#000000##000000
##727F171.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f17;
/* rgb */ color: rgb(114, 127, 23);
/* oklch */ color: oklch(56.7% 0.122 116.9);
Tailwind
colors: {
  custom: {
    50: '#9ea45f',
    500: '#727f17',
    950: '#000000',
  },
}
SCSS
$custom: #727f17;
$custom-light: #9ea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#727f17",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 67.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.1223,
    "h": 116.9
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#727F17
secondary
#4D3EB4
accent
#3CEC52
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727F17

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

Preview Lab → · Contrast checker → · Palette generator →

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