#727C28#727C28

#727C28 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.108 H 115.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#727C28
RGBrgb(114, 124, 40)
HSLhsl(67, 51%, 32%)
HSVhsv(67, 68%, 49%)
CMYKcmyk(8.1%, 0%, 67.7%, 51.4%)
CIE-LABlab(49.67, -15.72, 42.85)
CIE-LCHlch(49.67, 45.64, 110.15°)
OKLaboklab(56.07% -0.0468 0.097)
OKLCHoklch(56.07% 0.108 115.8)
XYZxyz(14.5304, 18.1461, 4.7442)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C28 #32287C
analogous
#7C5C28 #727C28 #487C28
triadic
#727C28 #28727C #7C2872
tetradic
#727C28 #287C5C #32287C #7C2848
square
#727C28 #287C5C #32287C #7C2848
split-complementary
#727C28 #28487C #5C287C
monochromatic
#1D1F0A #474E19 #727C28 #9DAA37 #BBC856

Accessibility & contrast

On white

4.54
#727C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#727C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C28
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C28#FFFFFF#000000##000000
##727C281.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#79756B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c28;
/* rgb */ color: rgb(114, 124, 40);
/* oklch */ color: oklch(56.1% 0.108 115.8);
Tailwind
colors: {
  custom: {
    50: '#9da167',
    500: '#727c28',
    950: '#000000',
  },
}
SCSS
$custom: #727c28;
$custom-light: #9da167;
$custom-dark: #000000;
JSON
{
  "hex": "#727c28",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 67.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.10768,
    "h": 115.8
  },
  "luminance": 0.18146
}

Semantic roles & 50–950 ramp

primary
#727C28
secondary
#5D52AD
accent
#4DDB5E
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F06
muted
#7E7E7A

Preview Lab

Preview with #727C28

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

Preview Lab → · Contrast checker → · Palette generator →

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