#727F2C#727F2C

#727F2C is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.108 H 117.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#727F2C
RGBrgb(114, 127, 44)
HSLhsl(69, 49%, 34%)
HSVhsv(69, 65%, 50%)
CMYKcmyk(10.2%, 0%, 65.4%, 50.2%)
CIE-LABlab(50.61, -17.03, 42.07)
CIE-LCHlch(50.61, 45.38, 112.04°)
OKLaboklab(56.84% -0.05 0.0959)
OKLCHoklch(56.84% 0.108 117.5)
XYZxyz(14.9837, 18.9381, 5.2485)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F2C #392C7F
analogous
#7F622C #727F2C #487F2C
triadic
#727F2C #2C727F #7F2C72
tetradic
#727F2C #2C7F62 #392C7F #7F2C48
square
#727F2C #2C7F62 #392C7F #7F2C48
split-complementary
#727F2C #2C487F #622C7F
monochromatic
#20240D #49521C #727F2C #9BAC3C #B7C75E

Accessibility & contrast

On white

4.39
#727F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#727F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F2C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F2C#FFFFFF#000000##000000
##727F2C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#79786E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f2c;
/* rgb */ color: rgb(114, 127, 44);
/* oklch */ color: oklch(56.8% 0.108 117.5);
Tailwind
colors: {
  custom: {
    50: '#9da469',
    500: '#727f2c',
    950: '#000000',
  },
}
SCSS
$custom: #727f2c;
$custom-light: #9da469;
$custom-dark: #000000;
JSON
{
  "hex": "#727f2c",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 69.398,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.1082,
    "h": 117.5
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#727F2C
secondary
#6759AD
accent
#50D865
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #727F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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