#727F16#727F16

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

Color values

HEX#727F16
RGBrgb(114, 127, 22)
HSLhsl(67, 70%, 29%)
HSVhsv(67, 83%, 50%)
CMYKcmyk(10.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(50.47, -18.28, 50.31)
CIE-LCHlch(50.47, 53.52, 109.97°)
OKLaboklab(56.68% -0.0556 0.1095)
OKLCHoklch(56.68% 0.123 116.9)
XYZxyz(14.6740, 18.8143, 3.6174)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F16 #23167F
analogous
#7F5816 #727F16 #3D7F16
triadic
#727F16 #16727F #7F1672
tetradic
#727F16 #167F58 #23167F #7F163D
square
#727F16 #167F58 #23167F #7F163D
split-complementary
#727F16 #163D7F #58167F
monochromatic
#171A05 #434B0D #727F16 #A1B31F #C7DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F16#FFFFFF#000000##000000
##727F161.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: #727f16;
/* rgb */ color: rgb(114, 127, 22);
/* oklch */ color: oklch(56.7% 0.123 116.9);
Tailwind
colors: {
  custom: {
    50: '#9ea45e',
    500: '#727f16',
    950: '#000000',
  },
}
SCSS
$custom: #727f16;
$custom-light: #9ea45e;
$custom-dark: #000000;
JSON
{
  "hex": "#727f16",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 67.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.12278,
    "h": 116.9
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#727F16
secondary
#4C3DB4
accent
#3BED51
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727F16

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

Preview Lab → · Contrast checker → · Palette generator →

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