#727A28#727A28

#727A28 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.6% C 0.105 H 114.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#727A28
RGBrgb(114, 122, 40)
HSLhsl(66, 51%, 32%)
HSVhsv(66, 67%, 48%)
CMYKcmyk(6.6%, 0%, 67.2%, 52.2%)
CIE-LABlab(49.07, -14.65, 42.22)
CIE-LCHlch(49.07, 44.69, 109.13°)
OKLaboklab(55.59% -0.0438 0.0956)
OKLCHoklch(55.59% 0.105 114.6)
XYZxyz(14.2823, 17.6499, 4.6615)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A28 #30287A
analogous
#7A5928 #727A28 #497A28
triadic
#727A28 #28727A #7A2872
tetradic
#727A28 #287A59 #30287A #7A2849
square
#727A28 #287A59 #30287A #7A2849
split-complementary
#727A28 #28497A #59287A
monochromatic
#1C1E0A #474C19 #727A28 #9DA837 #BCC755

Accessibility & contrast

On white

4.64
#727A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#727A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727A28
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727A28#FFFFFF#000000##FFFFFF
##727A281.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#797369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727a28;
/* rgb */ color: rgb(114, 122, 40);
/* oklch */ color: oklch(55.6% 0.105 114.6);
Tailwind
colors: {
  custom: {
    50: '#9da067',
    500: '#727a28',
    950: '#000000',
  },
}
SCSS
$custom: #727a28;
$custom-light: #9da067;
$custom-dark: #000000;
JSON
{
  "hex": "#727a28",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 65.854,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.1052,
    "h": 114.6
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#727A28
secondary
#5B52AC
accent
#4EDA5B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727A28

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

Preview Lab → · Contrast checker → · Palette generator →

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