#727D1F#727D1F

#727D1F is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.115 H 116.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#727D1F
RGBrgb(114, 125, 31)
HSLhsl(67, 60%, 31%)
HSVhsv(67, 75%, 49%)
CMYKcmyk(8.8%, 0%, 75.2%, 51%)
CIE-LABlab(49.91, -16.80, 46.76)
CIE-LCHlch(49.91, 49.69, 109.77°)
OKLaboklab(56.24% -0.0508 0.1036)
OKLCHoklch(56.24% 0.115 116.1)
XYZxyz(14.5207, 18.3438, 4.0718)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D1F #2A1F7D
analogous
#7D591F #727D1F #437D1F
triadic
#727D1F #1F727D #7D1F72
tetradic
#727D1F #1F7D59 #2A1F7D #7D1F43
square
#727D1F #1F7D59 #2A1F7D #7D1F43
split-complementary
#727D1F #1F437D #591F7D
monochromatic
#191B07 #454C13 #727D1F #9FAE2B #C1D145

Accessibility & contrast

On white

4.50
#727D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#727D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D1F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D1F#FFFFFF#000000##000000
##727D1F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d1f;
/* rgb */ color: rgb(114, 125, 31);
/* oklch */ color: oklch(56.2% 0.115 116.1);
Tailwind
colors: {
  custom: {
    50: '#9da262',
    500: '#727d1f',
    950: '#000000',
  },
}
SCSS
$custom: #727d1f;
$custom-light: #9da262;
$custom-dark: #000000;
JSON
{
  "hex": "#727d1f",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 67.021,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.11539,
    "h": 116.1
  },
  "luminance": 0.18344
}

Semantic roles & 50–950 ramp

primary
#727D1F
secondary
#5448B0
accent
#44E357
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0F05
muted
#7F7E7A

Preview Lab

Preview with #727D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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