#727C18#727C18

#727C18 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.0% C 0.118 H 115.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#727C18
RGBrgb(114, 124, 24)
HSLhsl(66, 68%, 29%)
HSVhsv(66, 81%, 49%)
CMYKcmyk(8.1%, 0%, 80.6%, 51.4%)
CIE-LABlab(49.57, -16.61, 48.88)
CIE-LCHlch(49.57, 51.63, 108.77°)
OKLaboklab(55.96% -0.0508 0.1068)
OKLCHoklch(55.96% 0.118 115.5)
XYZxyz(14.3124, 18.0589, 3.5957)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727C18 #22187C
analogous
#7C5418 #727C18 #407C18
triadic
#727C18 #18727C #7C1872
tetradic
#727C18 #187C54 #22187C #7C1840
square
#727C18 #187C54 #22187C #7C1840
split-complementary
#727C18 #18407C #54187C
monochromatic
#181A05 #43490E #727C18 #A1AF22 #C8D836

Accessibility & contrast

On white

4.55
#727C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#727C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727C18
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727C18#FFFFFF#000000##000000
##727C181.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#7A746A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #727c18;
/* rgb */ color: rgb(114, 124, 24);
/* oklch */ color: oklch(56.0% 0.118 115.5);
Tailwind
colors: {
  custom: {
    50: '#9ea15f',
    500: '#727c18',
    950: '#000000',
  },
}
SCSS
$custom: #727c18;
$custom-light: #9ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#727c18",
  "rgb": {
    "r": 114,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 66,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.1183,
    "h": 115.5
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#727C18
secondary
#4B3FB1
accent
#3DEA4F
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727C18

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

Preview Lab → · Contrast checker → · Palette generator →

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