#727D28#727D28

#727D28 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.3% C 0.109 H 116.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#727D28
RGBrgb(114, 125, 40)
HSLhsl(68, 52%, 32%)
HSVhsv(68, 68%, 49%)
CMYKcmyk(8.8%, 0%, 68%, 51%)
CIE-LABlab(49.98, -16.25, 43.17)
CIE-LCHlch(49.98, 46.13, 110.63°)
OKLaboklab(56.32% -0.0483 0.0976)
OKLCHoklch(56.32% 0.109 116.3)
XYZxyz(14.6564, 18.3980, 4.7862)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D28 #33287D
analogous
#7D5E28 #727D28 #477D28
triadic
#727D28 #28727D #7D2872
tetradic
#727D28 #287D5E #33287D #7D2847
square
#727D28 #287D5E #33287D #7D2847
split-complementary
#727D28 #28477D #5E287D
monochromatic
#1D200A #484F19 #727D28 #9CAB37 #BAC956

Accessibility & contrast

On white

4.49
#727D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#727D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D28
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D28#FFFFFF#000000##000000
##727D281.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761C
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#79766C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d28;
/* rgb */ color: rgb(114, 125, 40);
/* oklch */ color: oklch(56.3% 0.109 116.3);
Tailwind
colors: {
  custom: {
    50: '#9da267',
    500: '#727d28',
    950: '#000000',
  },
}
SCSS
$custom: #727d28;
$custom-light: #9da267;
$custom-dark: #000000;
JSON
{
  "hex": "#727d28",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 67.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.10893,
    "h": 116.3
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#727D28
secondary
#5F53AE
accent
#4DDB5F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F06
muted
#7E7E7A

Preview Lab

Preview with #727D28

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

Preview Lab → · Contrast checker → · Palette generator →

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