#727A40#727A40

#727A40 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.081 H 115.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#727A40
RGBrgb(114, 122, 64)
HSLhsl(68, 31%, 36%)
HSVhsv(68, 48%, 48%)
CMYKcmyk(6.6%, 0%, 47.5%, 52.2%)
CIE-LABlab(49.33, -12.47, 30.60)
CIE-LCHlch(49.33, 33.04, 112.17°)
OKLaboklab(55.89% -0.0351 0.0734)
OKLCHoklch(55.89% 0.081 115.5)
XYZxyz(14.8245, 17.8668, 7.5172)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A40 #48407A
analogous
#7A6540 #727A40 #557A40
triadic
#727A40 #40727A #7A4072
tetradic
#727A40 #407A65 #48407A #7A4055
square
#727A40 #407A65 #48407A #7A4055
split-complementary
#727A40 #40557A #65407A
monochromatic
#272A16 #4C522B #727A40 #98A255 #B1BA7B

Accessibility & contrast

On white

4.59
#727A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#727A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727A40
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727A40#FFFFFF#000000##FFFFFF
##727A401.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753B
Deuteranopia (green-blind)
#807643
Tritanopia (blue-blind)
#78746C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727a40;
/* rgb */ color: rgb(114, 122, 64);
/* oklch */ color: oklch(55.9% 0.081 115.5);
Tailwind
colors: {
  custom: {
    50: '#9ca076',
    500: '#727a40',
    950: '#000000',
  },
}
SCSS
$custom: #727a40;
$custom-light: #9ca076;
$custom-dark: #000000;
JSON
{
  "hex": "#727a40",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 68.276,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.08136,
    "h": 115.5
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#727A40
secondary
#7972A4
accent
#60C76F
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0E0E08
muted
#7E7E7B

Preview Lab

Preview with #727A40

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

Preview Lab → · Contrast checker → · Palette generator →

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