#727E16#727E16

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

Color values

HEX#727E16
RGBrgb(114, 126, 22)
HSLhsl(67, 70%, 29%)
HSVhsv(67, 83%, 49%)
CMYKcmyk(9.5%, 0%, 82.5%, 50.6%)
CIE-LABlab(50.17, -17.75, 50.04)
CIE-LCHlch(50.17, 53.09, 109.53°)
OKLaboklab(56.43% -0.0541 0.1089)
OKLCHoklch(56.43% 0.122 116.4)
XYZxyz(14.5455, 18.5573, 3.5746)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E16 #22167E
analogous
#7E5616 #727E16 #3E7E16
triadic
#727E16 #16727E #7E1672
tetradic
#727E16 #167E56 #22167E #7E163E
square
#727E16 #167E56 #22167E #7E163E
split-complementary
#727E16 #163E7E #56167E
monochromatic
#181A05 #434A0D #727E16 #A1B21F #C8DB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727E16#FFFFFF#000000##000000
##727E161.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)
#867820
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e16;
/* rgb */ color: rgb(114, 126, 22);
/* oklch */ color: oklch(56.4% 0.122 116.4);
Tailwind
colors: {
  custom: {
    50: '#9ea35e',
    500: '#727e16',
    950: '#000000',
  },
}
SCSS
$custom: #727e16;
$custom-light: #9ea35e;
$custom-dark: #000000;
JSON
{
  "hex": "#727e16",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 66.923,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.12163,
    "h": 116.4
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#727E16
secondary
#4B3DB3
accent
#3BED4F
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727E16

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

Preview Lab → · Contrast checker → · Palette generator →

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