#727F15#727F15

#727F15 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.7% C 0.123 H 116.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#727F15
RGBrgb(114, 127, 21)
HSLhsl(67, 72%, 29%)
HSVhsv(67, 83%, 50%)
CMYKcmyk(10.2%, 0%, 83.5%, 50.2%)
CIE-LABlab(50.46, -18.31, 50.60)
CIE-LCHlch(50.46, 53.81, 109.90°)
OKLaboklab(56.67% -0.0558 0.1099)
OKLCHoklch(56.67% 0.123 116.9)
XYZxyz(14.6646, 18.8105, 3.5676)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F15 #22157F
analogous
#7F5715 #727F15 #3D7F15
triadic
#727F15 #15727F #7F1572
tetradic
#727F15 #157F57 #22157F #7F153D
square
#727F15 #157F57 #22157F #7F153D
split-complementary
#727F15 #153D7F #57157F
monochromatic
#181A04 #434A0C #727F15 #A1B41E #C8DD31

Accessibility & contrast

On white

4.41
#727F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#727F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727F15
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727F15#FFFFFF#000000##000000
##727F151.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f15;
/* rgb */ color: rgb(114, 127, 21);
/* oklch */ color: oklch(56.7% 0.123 116.9);
Tailwind
colors: {
  custom: {
    50: '#9ea45e',
    500: '#727f15',
    950: '#000000',
  },
}
SCSS
$custom: #727f15;
$custom-light: #9ea45e;
$custom-dark: #000000;
JSON
{
  "hex": "#727f15",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 67.358,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.12326,
    "h": 116.9
  },
  "luminance": 0.1881
}

Semantic roles & 50–950 ramp

primary
#727F15
secondary
#4B3CB4
accent
#39EE50
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #727F15

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

Preview Lab → · Contrast checker → · Palette generator →

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