#727B27#727B27

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

Color values

HEX#727B27
RGBrgb(114, 123, 39)
HSLhsl(66, 52%, 32%)
HSVhsv(66, 68%, 48%)
CMYKcmyk(7.3%, 0%, 68.3%, 51.8%)
CIE-LABlab(49.36, -15.25, 42.97)
CIE-LCHlch(49.36, 45.59, 109.55°)
OKLaboklab(55.82% -0.0456 0.097)
OKLCHoklch(55.82% 0.107 115.2)
XYZxyz(14.3889, 17.8900, 4.6142)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B27 #30277B
analogous
#7B5A27 #727B27 #487B27
triadic
#727B27 #27727B #7B2772
tetradic
#727B27 #277B5A #30277B #7B2748
square
#727B27 #277B5A #30277B #7B2748
split-complementary
#727B27 #27487B #5A277B
monochromatic
#1C1E0A #474D18 #727B27 #9DA936 #BCC954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727B27#FFFFFF#000000##FFFFFF
##727B271.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)
#84751B
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#79746A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b27;
/* rgb */ color: rgb(114, 123, 39);
/* oklch */ color: oklch(55.8% 0.107 115.2);
Tailwind
colors: {
  custom: {
    50: '#9da166',
    500: '#727b27',
    950: '#000000',
  },
}
SCSS
$custom: #727b27;
$custom-light: #9da166;
$custom-dark: #000000;
JSON
{
  "hex": "#727b27",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 66.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.10723,
    "h": 115.2
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#727B27
secondary
#5B51AD
accent
#4CDB5C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727B27

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

Preview Lab → · Contrast checker → · Palette generator →

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