#727A22#727A22

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

Color values

HEX#727A22
RGBrgb(114, 122, 34)
HSLhsl(65, 56%, 31%)
HSVhsv(65, 72%, 48%)
CMYKcmyk(6.6%, 0%, 72.1%, 52.2%)
CIE-LABlab(49.02, -15.03, 44.72)
CIE-LCHlch(49.02, 47.18, 108.58°)
OKLaboklab(55.54% -0.0455 0.0999)
OKLCHoklch(55.54% 0.11 114.5)
XYZxyz(14.1881, 17.6122, 4.1652)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A22 #2A227A
analogous
#7A5622 #727A22 #467A22
triadic
#727A22 #22727A #7A2272
tetradic
#727A22 #227A56 #2A227A #7A2246
square
#727A22 #227A56 #2A227A #7A2246
split-complementary
#727A22 #22467A #56227A
monochromatic
#191A07 #454A15 #727A22 #9FAA2F #C1CD4A

Accessibility & contrast

On white

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

On black

4.52
#727A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##727A22#FFFFFF#000000##FFFFFF
##727A221.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#7A7369
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727a22;
/* rgb */ color: rgb(114, 122, 34);
/* oklch */ color: oklch(55.5% 0.110 114.5);
Tailwind
colors: {
  custom: {
    50: '#9da063',
    500: '#727a22',
    950: '#000000',
  },
}
SCSS
$custom: #727a22;
$custom-light: #9da063;
$custom-dark: #000000;
JSON
{
  "hex": "#727a22",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 65.455,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.10977,
    "h": 114.5
  },
  "luminance": 0.17612
}

Semantic roles & 50–950 ramp

primary
#727A22
secondary
#544BAD
accent
#48E056
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E06
muted
#7E7E7A

Preview Lab

Preview with #727A22

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

Preview Lab → · Contrast checker → · Palette generator →

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