#727F0F#727F0F

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

Color values

HEX#727F0F
RGBrgb(114, 127, 15)
HSLhsl(67, 79%, 28%)
HSVhsv(67, 88%, 50%)
CMYKcmyk(10.2%, 0%, 88.2%, 50.2%)
CIE-LABlab(50.44, -18.51, 52.14)
CIE-LCHlch(50.44, 55.33, 109.55°)
OKLaboklab(56.65% -0.0567 0.1122)
OKLCHoklch(56.65% 0.126 116.8)
XYZxyz(14.6154, 18.7908, 3.3089)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727F0F #1C0F7F
analogous
#7F540F #727F0F #3A7F0F
triadic
#727F0F #0F727F #7F0F72
tetradic
#727F0F #0F7F54 #1C0F7F #7F0F3A
square
#727F0F #0F7F54 #1C0F7F #7F0F3A
split-complementary
#727F0F #0F3A7F #540F7F
monochromatic
#191B03 #414809 #727F0F #A3B615 #CFE523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727F0F#FFFFFF#000000##000000
##727F0F1.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)
#87791C
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #727f0f;
/* rgb */ color: rgb(114, 127, 15);
/* oklch */ color: oklch(56.6% 0.126 116.8);
Tailwind
colors: {
  custom: {
    50: '#9ea45c',
    500: '#727f0f',
    950: '#000000',
  },
}
SCSS
$custom: #727f0f;
$custom-light: #9ea45c;
$custom-dark: #000000;
JSON
{
  "hex": "#727f0f",
  "rgb": {
    "r": 114,
    "g": 127,
    "b": 15
  },
  "hsl": {
    "h": 66.964,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56646,
    "c": 0.12571,
    "h": 116.8
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#727F0F
secondary
#4334B5
accent
#32F549
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F04
muted
#7F7F79

Preview Lab

Preview with #727F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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