#727E17#727E17

#727E17 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.121 H 116.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#727E17
RGBrgb(114, 126, 23)
HSLhsl(67, 69%, 29%)
HSVhsv(67, 82%, 49%)
CMYKcmyk(9.5%, 0%, 81.7%, 50.6%)
CIE-LABlab(50.17, -17.71, 49.74)
CIE-LCHlch(50.17, 52.80, 109.60°)
OKLaboklab(56.44% -0.054 0.1085)
OKLCHoklch(56.44% 0.121 116.5)
XYZxyz(14.5553, 18.5612, 3.6263)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E17 #23177E
analogous
#7E5717 #727E17 #3F7E17
triadic
#727E17 #17727E #7E1772
tetradic
#727E17 #177E57 #23177E #7E173F
square
#727E17 #177E57 #23177E #7E173F
split-complementary
#727E17 #173F7E #57177E
monochromatic
#171A05 #434A0E #727E17 #A1B220 #C7DA35

Accessibility & contrast

On white

4.46
#727E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#727E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E17
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E17#FFFFFF#000000##000000
##727E171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e17;
/* rgb */ color: rgb(114, 126, 23);
/* oklch */ color: oklch(56.4% 0.121 116.5);
Tailwind
colors: {
  custom: {
    50: '#9ea35f',
    500: '#727e17',
    950: '#000000',
  },
}
SCSS
$custom: #727e17;
$custom-light: #9ea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#727e17",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 66.99,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.12113,
    "h": 116.5
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#727E17
secondary
#4C3EB3
accent
#3CEC50
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727E17

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

Preview Lab → · Contrast checker → · Palette generator →

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