#727F11#727F11

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

Color values

HEX#727F11
RGBrgb(114, 127, 17)
HSLhsl(67, 76%, 28%)
HSVhsv(67, 87%, 50%)
CMYKcmyk(10.2%, 0%, 86.6%, 50.2%)
CIE-LABlab(50.45, -18.45, 51.66)
CIE-LCHlch(50.45, 54.86, 109.66°)
OKLaboklab(56.65% -0.0564 0.1115)
OKLCHoklch(56.65% 0.125 116.8)
XYZxyz(14.6304, 18.7968, 3.3876)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F11 #1E117F
analogous
#7F5511 #727F11 #3B7F11
triadic
#727F11 #11727F #7F1172
tetradic
#727F11 #117F55 #1E117F #7F113B
square
#727F11 #117F55 #1E117F #7F113B
split-complementary
#727F11 #113B7F #55117F
monochromatic
#181B04 #42490A #727F11 #A2B518 #CCE228

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F11#FFFFFF#000000##000000
##727F111.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)
#87791D
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f11;
/* rgb */ color: rgb(114, 127, 17);
/* oklch */ color: oklch(56.7% 0.125 116.8);
Tailwind
colors: {
  custom: {
    50: '#9ea45c',
    500: '#727f11',
    950: '#000000',
  },
}
SCSS
$custom: #727f11;
$custom-light: #9ea45c;
$custom-dark: #000000;
JSON
{
  "hex": "#727f11",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 17
  },
  "hsl": {
    "h": 67.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.12497,
    "h": 116.8
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#727F11
secondary
#4637B5
accent
#35F34B
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727F11

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

Preview Lab → · Contrast checker → · Palette generator →

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