#727D1B#727D1B

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

Color values

HEX#727D1B
RGBrgb(114, 125, 27)
HSLhsl(67, 64%, 30%)
HSVhsv(67, 78%, 49%)
CMYKcmyk(8.8%, 0%, 78.4%, 51%)
CIE-LABlab(49.89, -17.01, 48.17)
CIE-LCHlch(49.89, 51.09, 109.44°)
OKLaboklab(56.22% -0.0517 0.1059)
OKLCHoklch(56.22% 0.118 116)
XYZxyz(14.4713, 18.3240, 3.8112)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D1B #261B7D
analogous
#7D571B #727D1B #417D1B
triadic
#727D1B #1B727D #7D1B72
tetradic
#727D1B #1B7D57 #261B7D #7D1B41
square
#727D1B #1B7D57 #261B7D #7D1B41
split-complementary
#727D1B #1B417D #571B7D
monochromatic
#171905 #444B10 #727D1B #A0AF26 #C4D53D

Accessibility & contrast

On white

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

On black

4.66
#727D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D1B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D1B#FFFFFF#000000##000000
##727D1B1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#7A756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d1b;
/* rgb */ color: rgb(114, 125, 27);
/* oklch */ color: oklch(56.2% 0.118 116.0);
Tailwind
colors: {
  custom: {
    50: '#9ea260',
    500: '#727d1b',
    950: '#000000',
  },
}
SCSS
$custom: #727d1b;
$custom-light: #9ea260;
$custom-dark: #000000;
JSON
{
  "hex": "#727d1b",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 66.735,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.11782,
    "h": 116
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#727D1B
secondary
#4F43B1
accent
#40E753
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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