#727940#727940

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

Color values

HEX#727940
RGBrgb(114, 121, 64)
HSLhsl(67, 31%, 36%)
HSVhsv(67, 47%, 47%)
CMYKcmyk(5.8%, 0%, 47.1%, 52.5%)
CIE-LABlab(49.03, -11.92, 30.23)
CIE-LCHlch(49.03, 32.50, 111.52°)
OKLaboklab(55.65% -0.0335 0.0726)
OKLCHoklch(55.65% 0.08 114.8)
XYZxyz(14.7024, 17.6225, 7.4765)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727940 #474079
analogous
#796440 #727940 #567940
triadic
#727940 #407279 #794072
tetradic
#727940 #407964 #474079 #794056
square
#727940 #407964 #474079 #794056
split-complementary
#727940 #405679 #644079
monochromatic
#272916 #4C512B #727940 #98A155 #B1B97A

Accessibility & contrast

On white

4.64
#727940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#727940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##727940#FFFFFF#000000##FFFFFF
##7279401.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)
#80743B
Deuteranopia (green-blind)
#807543
Tritanopia (blue-blind)
#78736C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727940;
/* rgb */ color: rgb(114, 121, 64);
/* oklch */ color: oklch(55.6% 0.080 114.8);
Tailwind
colors: {
  custom: {
    50: '#9c9f76',
    500: '#727940',
    950: '#000000',
  },
}
SCSS
$custom: #727940;
$custom-light: #9c9f76;
$custom-dark: #000000;
JSON
{
  "hex": "#727940",
  "rgb": {
    "r": 114,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 67.368,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55649,
    "c": 0.07996,
    "h": 114.8
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#727940
secondary
#7771A4
accent
#61C76D
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0E0E08
muted
#7E7E7B

Preview Lab

Preview with #727940

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

Preview Lab → · Contrast checker → · Palette generator →

#727940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva