#727B18#727B18

#727B18 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#727B18
RGBrgb(114, 123, 24)
HSLhsl(65, 67%, 29%)
HSVhsv(65, 80%, 48%)
CMYKcmyk(7.3%, 0%, 80.5%, 51.8%)
CIE-LABlab(49.26, -16.08, 48.61)
CIE-LCHlch(49.26, 51.20, 108.30°)
OKLaboklab(55.71% -0.0494 0.1062)
OKLCHoklch(55.71% 0.117 114.9)
XYZxyz(14.1877, 17.8095, 3.5542)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727B18 #21187B
analogous
#7B5318 #727B18 #417B18
triadic
#727B18 #18727B #7B1872
tetradic
#727B18 #187B53 #21187B #7B1841
square
#727B18 #187B53 #21187B #7B1841
split-complementary
#727B18 #18417B #53187B
monochromatic
#181A05 #43480E #727B18 #A1AE22 #C9D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727B18#FFFFFF#000000##FFFFFF
##727B181.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)
#847621
Tritanopia (blue-blind)
#7A7369
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #727b18;
/* rgb */ color: rgb(114, 123, 24);
/* oklch */ color: oklch(55.7% 0.117 114.9);
Tailwind
colors: {
  custom: {
    50: '#9ea15f',
    500: '#727b18',
    950: '#000000',
  },
}
SCSS
$custom: #727b18;
$custom-light: #9ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#727b18",
  "rgb": {
    "r": 114,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 65.455,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.11715,
    "h": 114.9
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#727B18
secondary
#493FB0
accent
#3EEA4D
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727B18

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

Preview Lab → · Contrast checker → · Palette generator →

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