#727B15#727B15

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

Color values

HEX#727B15
RGBrgb(114, 123, 21)
HSLhsl(65, 71%, 28%)
HSVhsv(65, 83%, 48%)
CMYKcmyk(7.3%, 0%, 82.9%, 51.8%)
CIE-LABlab(49.25, -16.20, 49.53)
CIE-LCHlch(49.25, 52.11, 108.11°)
OKLaboklab(55.7% -0.0499 0.1076)
OKLCHoklch(55.7% 0.119 114.9)
XYZxyz(14.1582, 17.7977, 3.3988)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B15 #1E157B
analogous
#7B5115 #727B15 #3F7B15
triadic
#727B15 #15727B #7B1572
tetradic
#727B15 #157B51 #1E157B #7B153F
square
#727B15 #157B51 #1E157B #7B153F
split-complementary
#727B15 #153F7B #51157B
monochromatic
#181A04 #42470C #727B15 #A2AF1E #CCDB2F

Accessibility & contrast

On white

4.61
#727B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #727B15
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727B15#FFFFFF#000000##FFFFFF
##727B151.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#7A7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b15;
/* rgb */ color: rgb(114, 123, 21);
/* oklch */ color: oklch(55.7% 0.119 114.9);
Tailwind
colors: {
  custom: {
    50: '#9ea15d',
    500: '#727b15',
    950: '#000000',
  },
}
SCSS
$custom: #727b15;
$custom-light: #9ea15d;
$custom-dark: #000000;
JSON
{
  "hex": "#727b15",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 65.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.11866,
    "h": 114.9
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#727B15
secondary
#463BB0
accent
#3AEE4A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727B15

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

Preview Lab → · Contrast checker → · Palette generator →

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