#727A42#727A42

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

Color values

HEX#727A42
RGBrgb(114, 122, 66)
HSLhsl(69, 30%, 37%)
HSVhsv(69, 46%, 48%)
CMYKcmyk(6.6%, 0%, 45.9%, 52.2%)
CIE-LABlab(49.36, -12.24, 29.55)
CIE-LCHlch(49.36, 31.99, 112.50°)
OKLaboklab(55.92% -0.0342 0.0712)
OKLCHoklch(55.92% 0.079 115.7)
XYZxyz(14.8825, 17.8900, 7.8223)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A42 #4A427A
analogous
#7A6642 #727A42 #567A42
triadic
#727A42 #42727A #7A4272
tetradic
#727A42 #427A66 #4A427A #7A4256
square
#727A42 #427A66 #4A427A #7A4256
split-complementary
#727A42 #42567A #66427A
monochromatic
#282B17 #4D522D #727A42 #97A257 #B0B97D

Accessibility & contrast

On white

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

On black

4.58
#727A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##727A42#FFFFFF#000000##FFFFFF
##727A421.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#78746D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727a42;
/* rgb */ color: rgb(114, 122, 66);
/* oklch */ color: oklch(55.9% 0.079 115.7);
Tailwind
colors: {
  custom: {
    50: '#9ca077',
    500: '#727a42',
    950: '#000000',
  },
}
SCSS
$custom: #727a42;
$custom-light: #9ca077;
$custom-dark: #000000;
JSON
{
  "hex": "#727a42",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 68.571,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.07903,
    "h": 115.7
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#727A42
secondary
#7B74A4
accent
#62C670
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0E0E09
muted
#7E7E7B

Preview Lab

Preview with #727A42

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

Preview Lab → · Contrast checker → · Palette generator →

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