#727D18#727D18

#727D18 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.119 H 116.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#727D18
RGBrgb(114, 125, 24)
HSLhsl(67, 68%, 29%)
HSVhsv(67, 81%, 49%)
CMYKcmyk(8.8%, 0%, 80.8%, 51%)
CIE-LABlab(49.87, -17.14, 49.16)
CIE-LCHlch(49.87, 52.06, 109.22°)
OKLaboklab(56.2% -0.0523 0.1074)
OKLCHoklch(56.2% 0.119 116)
XYZxyz(14.4383, 18.3108, 3.6377)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D18 #23187D
analogous
#7D5618 #727D18 #407D18
triadic
#727D18 #18727D #7D1872
tetradic
#727D18 #187D56 #23187D #7D1840
square
#727D18 #187D56 #23187D #7D1840
split-complementary
#727D18 #18407D #56187D
monochromatic
#171A05 #434A0E #727D18 #A1B022 #C7D937

Accessibility & contrast

On white

4.50
#727D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#727D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D18
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D18#FFFFFF#000000##000000
##727D181.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#7A756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d18;
/* rgb */ color: rgb(114, 125, 24);
/* oklch */ color: oklch(56.2% 0.119 116.0);
Tailwind
colors: {
  custom: {
    50: '#9ea25f',
    500: '#727d18',
    950: '#000000',
  },
}
SCSS
$custom: #727d18;
$custom-light: #9ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#727d18",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 66.535,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.11946,
    "h": 116
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#727D18
secondary
#4C3FB2
accent
#3DEB50
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727D18

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

Preview Lab → · Contrast checker → · Palette generator →

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