#727D22#727D22

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

Color values

HEX#727D22
RGBrgb(114, 125, 34)
HSLhsl(67, 57%, 31%)
HSVhsv(67, 73%, 49%)
CMYKcmyk(8.8%, 0%, 72.8%, 51%)
CIE-LABlab(49.93, -16.64, 45.62)
CIE-LCHlch(49.93, 48.56, 110.04°)
OKLaboklab(56.27% -0.05 0.1018)
OKLCHoklch(56.27% 0.113 116.2)
XYZxyz(14.5621, 18.3603, 4.2898)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D22 #2D227D
analogous
#7D5A22 #727D22 #447D22
triadic
#727D22 #22727D #7D2272
tetradic
#727D22 #227D5A #2D227D #7D2244
square
#727D22 #227D5A #2D227D #7D2244
split-complementary
#727D22 #22447D #5A227D
monochromatic
#1A1D08 #464D15 #727D22 #9EAD2F #BECE4B

Accessibility & contrast

On white

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

On black

4.67
#727D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D22
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D22#FFFFFF#000000##000000
##727D221.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#79766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d22;
/* rgb */ color: rgb(114, 125, 34);
/* oklch */ color: oklch(56.3% 0.113 116.2);
Tailwind
colors: {
  custom: {
    50: '#9da264',
    500: '#727d22',
    950: '#000000',
  },
}
SCSS
$custom: #727d22;
$custom-light: #9da264;
$custom-dark: #000000;
JSON
{
  "hex": "#727d22",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 67.253,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.11338,
    "h": 116.2
  },
  "luminance": 0.1836
}

Semantic roles & 50–950 ramp

primary
#727D22
secondary
#574BB0
accent
#47E05A
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0F06
muted
#7E7E7A

Preview Lab

Preview with #727D22

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

Preview Lab → · Contrast checker → · Palette generator →

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