#727A18#727A18

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

Color values

HEX#727A18
RGBrgb(114, 122, 24)
HSLhsl(65, 67%, 29%)
HSVhsv(65, 80%, 48%)
CMYKcmyk(6.6%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.96, -15.54, 48.33)
CIE-LCHlch(48.96, 50.77, 107.83°)
OKLaboklab(55.47% -0.0479 0.1056)
OKLCHoklch(55.47% 0.116 114.4)
XYZxyz(14.0643, 17.5627, 3.5130)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727A18 #20187A
analogous
#7A5118 #727A18 #417A18
triadic
#727A18 #18727A #7A1872
tetradic
#727A18 #187A51 #20187A #7A1841
square
#727A18 #187A51 #20187A #7A1841
split-complementary
#727A18 #18417A #51187A
monochromatic
#181A05 #42470E #727A18 #A2AD22 #CAD735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727A18#FFFFFF#000000##FFFFFF
##727A181.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)
#837521
Tritanopia (blue-blind)
#7A7268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #727a18;
/* rgb */ color: rgb(114, 122, 24);
/* oklch */ color: oklch(55.5% 0.116 114.4);
Tailwind
colors: {
  custom: {
    50: '#9ea05e',
    500: '#727a18',
    950: '#000000',
  },
}
SCSS
$custom: #727a18;
$custom-light: #9ea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#727a18",
  "rgb": {
    "r": 114,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 64.898,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.11599,
    "h": 114.4
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#727A18
secondary
#483FAF
accent
#3EEA4C
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727A18

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

Preview Lab → · Contrast checker → · Palette generator →

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