#727D20#727D20

#727D20 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.115 H 116.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#727D20
RGBrgb(114, 125, 32)
HSLhsl(67, 59%, 31%)
HSVhsv(67, 74%, 49%)
CMYKcmyk(8.8%, 0%, 74.4%, 51%)
CIE-LABlab(49.92, -16.75, 46.38)
CIE-LCHlch(49.92, 49.32, 109.86°)
OKLaboklab(56.25% -0.0505 0.103)
OKLCHoklch(56.25% 0.115 116.1)
XYZxyz(14.5341, 18.3491, 4.1423)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D20 #2B207D
analogous
#7D5920 #727D20 #437D20
triadic
#727D20 #20727D #7D2072
tetradic
#727D20 #207D59 #2B207D #7D2043
square
#727D20 #207D59 #2B207D #7D2043
split-complementary
#727D20 #20437D #59207D
monochromatic
#191C07 #464C14 #727D20 #9EAE2C #C0D047

Accessibility & contrast

On white

4.50
#727D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#727D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D20
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D20#FFFFFF#000000##000000
##727D201.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760F
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d20;
/* rgb */ color: rgb(114, 125, 32);
/* oklch */ color: oklch(56.3% 0.115 116.1);
Tailwind
colors: {
  custom: {
    50: '#9da263',
    500: '#727d20',
    950: '#000000',
  },
}
SCSS
$custom: #727d20;
$custom-light: #9da263;
$custom-dark: #000000;
JSON
{
  "hex": "#727d20",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 67.097,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.11474,
    "h": 116.1
  },
  "luminance": 0.18349
}

Semantic roles & 50–950 ramp

primary
#727D20
secondary
#5549B0
accent
#45E258
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F05
muted
#7E7E7A

Preview Lab

Preview with #727D20

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

Preview Lab → · Contrast checker → · Palette generator →

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