#727E15#727E15

#727E15 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.4% C 0.122 H 116.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#727E15
RGBrgb(114, 126, 21)
HSLhsl(67, 71%, 29%)
HSVhsv(67, 83%, 49%)
CMYKcmyk(9.5%, 0%, 83.3%, 50.6%)
CIE-LABlab(50.16, -17.79, 50.33)
CIE-LCHlch(50.16, 53.38, 109.47°)
OKLaboklab(56.43% -0.0543 0.1093)
OKLCHoklch(56.43% 0.122 116.4)
XYZxyz(14.5360, 18.5535, 3.5248)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E15 #21157E
analogous
#7E5615 #727E15 #3E7E15
triadic
#727E15 #15727E #7E1572
tetradic
#727E15 #157E56 #21157E #7E153E
square
#727E15 #157E56 #21157E #7E153E
split-complementary
#727E15 #153E7E #56157E
monochromatic
#181A04 #434A0C #727E15 #A1B21E #C9DD31

Accessibility & contrast

On white

4.46
#727E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#727E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727E15
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727E15#FFFFFF#000000##000000
##727E151.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e15;
/* rgb */ color: rgb(114, 126, 21);
/* oklch */ color: oklch(56.4% 0.122 116.4);
Tailwind
colors: {
  custom: {
    50: '#9ea35e',
    500: '#727e15',
    950: '#000000',
  },
}
SCSS
$custom: #727e15;
$custom-light: #9ea35e;
$custom-dark: #000000;
JSON
{
  "hex": "#727e15",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 66.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.12209,
    "h": 116.4
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#727E15
secondary
#493CB3
accent
#3AEE4E
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727E15

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

Preview Lab → · Contrast checker → · Palette generator →

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