#727E31#727E31

#727E31 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.102 H 117.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#727E31
RGBrgb(114, 126, 49)
HSLhsl(69, 44%, 34%)
HSVhsv(69, 61%, 49%)
CMYKcmyk(9.5%, 0%, 61.1%, 50.6%)
CIE-LABlab(50.36, -16.10, 39.46)
CIE-LCHlch(50.36, 42.62, 112.20°)
OKLaboklab(56.65% -0.0469 0.0911)
OKLCHoklch(56.65% 0.102 117.2)
XYZxyz(14.9549, 18.7210, 5.7308)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E31 #3D317E
analogous
#7E6431 #727E31 #4C7E31
triadic
#727E31 #31727E #7E3172
tetradic
#727E31 #317E64 #3D317E #7E314C
square
#727E31 #317E64 #3D317E #7E314C
split-complementary
#727E31 #314C7E #64317E
monochromatic
#22260F #4A5220 #727E31 #9AAA42 #B5C366

Accessibility & contrast

On white

4.43
#727E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#727E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E31
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E31#FFFFFF#000000##000000
##727E311.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867828
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#79776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727e31;
/* rgb */ color: rgb(114, 126, 49);
/* oklch */ color: oklch(56.7% 0.102 117.2);
Tailwind
colors: {
  custom: {
    50: '#9ca36c',
    500: '#727e31',
    950: '#000000',
  },
}
SCSS
$custom: #727e31;
$custom-light: #9ca36c;
$custom-dark: #000000;
JSON
{
  "hex": "#727e31",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 69.351,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.10247,
    "h": 117.2
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#727E31
secondary
#6C60AB
accent
#54D468
background
#F9FAF6
surface
#F2F3EC
border
#CCCDC7
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #727E31

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

Preview Lab → · Contrast checker → · Palette generator →

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