#727B1A#727B1A

#727B1A is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.7% C 0.116 H 115.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#727B1A
RGBrgb(114, 123, 26)
HSLhsl(66, 65%, 29%)
HSVhsv(66, 79%, 48%)
CMYKcmyk(7.3%, 0%, 78.9%, 51.8%)
CIE-LABlab(49.27, -15.99, 47.95)
CIE-LCHlch(49.27, 50.55, 108.44°)
OKLaboklab(55.72% -0.049 0.1052)
OKLCHoklch(55.72% 0.116 115)
XYZxyz(14.2093, 17.8182, 3.6678)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B1A #231A7B
analogous
#7B541A #727B1A #427B1A
triadic
#727B1A #1A727B #7B1A72
tetradic
#727B1A #1A7B54 #231A7B #7B1A42
square
#727B1A #1A7B54 #231A7B #7B1A42
split-complementary
#727B1A #1A427B #541A7B
monochromatic
#171905 #43480F #727B1A #A1AE25 #C7D53A

Accessibility & contrast

On white

4.60
#727B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#727B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727B1A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727B1A#FFFFFF#000000##FFFFFF
##727B1A1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#7A7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b1a;
/* rgb */ color: rgb(114, 123, 26);
/* oklch */ color: oklch(55.7% 0.116 115.0);
Tailwind
colors: {
  custom: {
    50: '#9ea15f',
    500: '#727b1a',
    950: '#000000',
  },
}
SCSS
$custom: #727b1a;
$custom-light: #9ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#727b1a",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 65.567,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.11604,
    "h": 115
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#727B1A
secondary
#4C42AF
accent
#40E84F
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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