#727C1F#727C1F

#727C1F is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.114 H 115.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#727C1F
RGBrgb(114, 124, 31)
HSLhsl(66, 60%, 30%)
HSVhsv(66, 75%, 49%)
CMYKcmyk(8.1%, 0%, 75%, 51.4%)
CIE-LABlab(49.61, -16.27, 46.47)
CIE-LCHlch(49.61, 49.23, 109.30°)
OKLaboklab(56% -0.0493 0.103)
OKLCHoklch(56% 0.114 115.6)
XYZxyz(14.3948, 18.0919, 4.0298)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C1F #291F7C
analogous
#7C581F #727C1F #437C1F
triadic
#727C1F #1F727C #7C1F72
tetradic
#727C1F #1F7C58 #291F7C #7C1F43
square
#727C1F #1F7C58 #291F7C #7C1F43
split-complementary
#727C1F #1F437C #581F7C
monochromatic
#181A07 #454B13 #727C1F #9FAD2B #C1D045

Accessibility & contrast

On white

4.55
#727C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#727C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C1F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C1F#FFFFFF#000000##000000
##727C1F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750D
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#7A756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c1f;
/* rgb */ color: rgb(114, 124, 31);
/* oklch */ color: oklch(56.0% 0.114 115.6);
Tailwind
colors: {
  custom: {
    50: '#9da162',
    500: '#727c1f',
    950: '#000000',
  },
}
SCSS
$custom: #727c1f;
$custom-light: #9da162;
$custom-dark: #000000;
JSON
{
  "hex": "#727c1f",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 66.452,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56,
    "c": 0.11419,
    "h": 115.6
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#727C1F
secondary
#5348AF
accent
#45E356
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #727C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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