#727B19#727B19

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

Color values

HEX#727B19
RGBrgb(114, 123, 25)
HSLhsl(66, 66%, 29%)
HSVhsv(66, 80%, 48%)
CMYKcmyk(7.3%, 0%, 79.7%, 51.8%)
CIE-LABlab(49.27, -16.03, 48.28)
CIE-LCHlch(49.27, 50.88, 108.37°)
OKLaboklab(55.72% -0.0492 0.1057)
OKLCHoklch(55.72% 0.117 114.9)
XYZxyz(14.1983, 17.8138, 3.6100)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B19 #22197B
analogous
#7B5319 #727B19 #417B19
triadic
#727B19 #19727B #7B1972
tetradic
#727B19 #197B53 #22197B #7B1941
square
#727B19 #197B53 #22197B #7B1941
split-complementary
#727B19 #19417B #53197B
monochromatic
#181905 #43480F #727B19 #A1AE23 #C8D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727B19#FFFFFF#000000##FFFFFF
##727B191.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)
#847400
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#7A7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b19;
/* rgb */ color: rgb(114, 123, 25);
/* oklch */ color: oklch(55.7% 0.117 114.9);
Tailwind
colors: {
  custom: {
    50: '#9ea15f',
    500: '#727b19',
    950: '#000000',
  },
}
SCSS
$custom: #727b19;
$custom-light: #9ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#727b19",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 65.51,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.1166,
    "h": 114.9
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#727B19
secondary
#4B40AF
accent
#3FE94E
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727B19

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

Preview Lab → · Contrast checker → · Palette generator →

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