#727E0F#727E0F

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

Color values

HEX#727E0F
RGBrgb(114, 126, 15)
HSLhsl(66, 79%, 28%)
HSVhsv(66, 88%, 49%)
CMYKcmyk(9.5%, 0%, 88.1%, 50.6%)
CIE-LABlab(50.14, -17.99, 51.89)
CIE-LCHlch(50.14, 54.92, 109.12°)
OKLaboklab(56.4% -0.0553 0.1116)
OKLCHoklch(56.4% 0.125 116.3)
XYZxyz(14.4869, 18.5338, 3.2661)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727E0F #1B0F7E
analogous
#7E520F #727E0F #3B7E0F
triadic
#727E0F #0F727E #7E0F72
tetradic
#727E0F #0F7E52 #1B0F7E #7E0F3B
square
#727E0F #0F7E52 #1B0F7E #7E0F3B
split-complementary
#727E0F #0F3B7E #520F7E
monochromatic
#191B03 #414708 #727E0F #A3B516 #D0E523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727E0F#FFFFFF#000000##000000
##727E0F1.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)
#887700
Deuteranopia (green-blind)
#86781C
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727e0f;
/* rgb */ color: rgb(114, 126, 15);
/* oklch */ color: oklch(56.4% 0.125 116.3);
Tailwind
colors: {
  custom: {
    50: '#9ea35c',
    500: '#727e0f',
    950: '#000000',
  },
}
SCSS
$custom: #727e0f;
$custom-light: #9ea35c;
$custom-dark: #000000;
JSON
{
  "hex": "#727e0f",
  "rgb": {
    "r": 114,
    "g": 126,
    "b": 15
  },
  "hsl": {
    "h": 66.486,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.12458,
    "h": 116.3
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#727E0F
secondary
#4234B5
accent
#33F548
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F04
muted
#7F7F79

Preview Lab

Preview with #727E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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