#727A17#727A17

#727A17 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.5% C 0.117 H 114.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#727A17
RGBrgb(114, 122, 23)
HSLhsl(65, 68%, 28%)
HSVhsv(65, 81%, 48%)
CMYKcmyk(6.6%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.96, -15.59, 48.65)
CIE-LCHlch(48.96, 51.09, 107.76°)
OKLaboklab(55.46% -0.0481 0.1061)
OKLCHoklch(55.46% 0.117 114.4)
XYZxyz(14.0540, 17.5586, 3.4593)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A17 #1F177A
analogous
#7A5017 #727A17 #407A17
triadic
#727A17 #17727A #7A1772
tetradic
#727A17 #177A50 #1F177A #7A1740
square
#727A17 #177A50 #1F177A #7A1740
split-complementary
#727A17 #17407A #50177A
monochromatic
#181A05 #42470D #727A17 #A2AD21 #CBD933

Accessibility & contrast

On white

4.65
#727A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#727A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #727A17
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727A17#FFFFFF#000000##FFFFFF
##727A171.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#7A7268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727a17;
/* rgb */ color: rgb(114, 122, 23);
/* oklch */ color: oklch(55.5% 0.117 114.4);
Tailwind
colors: {
  custom: {
    50: '#9ea05e',
    500: '#727a17',
    950: '#000000',
  },
}
SCSS
$custom: #727a17;
$custom-light: #9ea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#727a17",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 64.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.11652,
    "h": 114.4
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#727A17
secondary
#473EAF
accent
#3DEB4B
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727A17

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

Preview Lab → · Contrast checker → · Palette generator →

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