#727D12#727D12

#727D12 is a mid, vivid yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.122 H 115.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#727D12
RGBrgb(114, 125, 18)
HSLhsl(66, 75%, 28%)
HSVhsv(66, 86%, 49%)
CMYKcmyk(8.8%, 0%, 85.6%, 51%)
CIE-LABlab(49.84, -17.37, 50.89)
CIE-LCHlch(49.84, 53.77, 108.85°)
OKLaboklab(56.17% -0.0534 0.11)
OKLCHoklch(56.17% 0.122 115.9)
XYZxyz(14.3826, 18.2885, 3.3445)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727D12 #1D127D
analogous
#7D5212 #727D12 #3C7D12
triadic
#727D12 #12727D #7D1272
tetradic
#727D12 #127D52 #1D127D #7D123C
square
#727D12 #127D52 #1D127D #7D123C
split-complementary
#727D12 #123C7D #52127D
monochromatic
#181B04 #41480A #727D12 #A3B21A #CDE029

Accessibility & contrast

On white

4.51
#727D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#727D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #727D12
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727D12#FFFFFF#000000##000000
##727D121.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#7A756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #727d12;
/* rgb */ color: rgb(114, 125, 18);
/* oklch */ color: oklch(56.2% 0.122 115.9);
Tailwind
colors: {
  custom: {
    50: '#9ea25c',
    500: '#727d12',
    950: '#000000',
  },
}
SCSS
$custom: #727d12;
$custom-light: #9ea25c;
$custom-dark: #000000;
JSON
{
  "hex": "#727d12",
  "rgb": {
    "r": 114,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 66.168,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.12227,
    "h": 115.9
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#727D12
secondary
#4538B3
accent
#36F14A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #727D12

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

Preview Lab → · Contrast checker → · Palette generator →

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