#727D2C#727D2C

#727D2C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.106 H 116.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#727D2C
RGBrgb(114, 125, 44)
HSLhsl(68, 48%, 33%)
HSVhsv(68, 65%, 49%)
CMYKcmyk(8.8%, 0%, 64.8%, 51%)
CIE-LABlab(50.01, -15.97, 41.42)
CIE-LCHlch(50.01, 44.39, 111.08°)
OKLaboklab(56.36% -0.0471 0.0946)
OKLCHoklch(56.36% 0.106 116.5)
XYZxyz(14.7280, 18.4267, 5.1632)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D2C #372C7D
analogous
#7D5F2C #727D2C #497D2C
triadic
#727D2C #2C727D #7D2C72
tetradic
#727D2C #2C7D5F #372C7D #7D2C49
square
#727D2C #2C7D5F #372C7D #7D2C49
split-complementary
#727D2C #2C497D #5F2C7D
monochromatic
#1F220C #49501C #727D2C #9BAA3C #B8C65D

Accessibility & contrast

On white

4.48
#727D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#727D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D2C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D2C#FFFFFF#000000##000000
##727D2C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857722
Deuteranopia (green-blind)
#847831
Tritanopia (blue-blind)
#79766C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d2c;
/* rgb */ color: rgb(114, 125, 44);
/* oklch */ color: oklch(56.4% 0.106 116.5);
Tailwind
colors: {
  custom: {
    50: '#9da269',
    500: '#727d2c',
    950: '#000000',
  },
}
SCSS
$custom: #727d2c;
$custom-light: #9da269;
$custom-dark: #000000;
JSON
{
  "hex": "#727d2c",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 68.148,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.10563,
    "h": 116.5
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#727D2C
secondary
#6459AC
accent
#50D863
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F06
muted
#7E7E7A

Preview Lab

Preview with #727D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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