#727E20#727E20

#727E20 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.116 H 116.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#727E20
RGBrgb(114, 126, 32)
HSLhsl(68, 59%, 31%)
HSVhsv(68, 75%, 49%)
CMYKcmyk(9.5%, 0%, 74.6%, 50.6%)
CIE-LABlab(50.22, -17.28, 46.68)
CIE-LCHlch(50.22, 49.77, 110.31°)
OKLaboklab(56.49% -0.052 0.1036)
OKLCHoklch(56.49% 0.116 116.6)
XYZxyz(14.6614, 18.6036, 4.1847)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E20 #2C207E
analogous
#7E5B20 #727E20 #437E20
triadic
#727E20 #20727E #7E2072
tetradic
#727E20 #207E5B #2C207E #7E2043
square
#727E20 #207E5B #2C207E #7E2043
split-complementary
#727E20 #20437E #5B207E
monochromatic
#1A1C07 #464D14 #727E20 #9EAF2C #BFD048

Accessibility & contrast

On white

4.45
#727E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#727E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E20
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E20#FFFFFF#000000##000000
##727E201.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770E
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#79776C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e20;
/* rgb */ color: rgb(114, 126, 32);
/* oklch */ color: oklch(56.5% 0.116 116.6);
Tailwind
colors: {
  custom: {
    50: '#9da363',
    500: '#727e20',
    950: '#000000',
  },
}
SCSS
$custom: #727e20;
$custom-light: #9da363;
$custom-dark: #000000;
JSON
{
  "hex": "#727e20",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 67.66,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.11594,
    "h": 116.6
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#727E20
secondary
#5649B1
accent
#45E359
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #727E20

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

Preview Lab → · Contrast checker → · Palette generator →

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