#727012#727012

#727012 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.0% C 0.108 H 108.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#727012
RGBrgb(114, 112, 18)
HSLhsl(59, 73%, 26%)
HSVhsv(59, 84%, 45%)
CMYKcmyk(0%, 1.8%, 84.2%, 55.3%)
CIE-LABlab(45.92, -10.32, 47.51)
CIE-LCHlch(45.92, 48.61, 102.26°)
OKLaboklab(53.03% -0.0339 0.1027)
OKLCHoklch(53.03% 0.108 108.3)
XYZxyz(12.8433, 15.2099, 2.8314)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727012 #121472
analogous
#724012 #727012 #447212
triadic
#727012 #127270 #701272
tetradic
#727012 #127240 #121472 #721244
square
#727012 #127240 #121472 #721244
split-complementary
#727012 #124472 #401272
monochromatic
#1A1A04 #3D3C0A #727012 #A7A41A #DCD823

Accessibility & contrast

On white

5.20
#727012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#727012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727012
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727012#FFFFFF#000000##FFFFFF
##7270121.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7C6E1B
Tritanopia (blue-blind)
#7B685F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #727012;
/* rgb */ color: rgb(114, 112, 18);
/* oklch */ color: oklch(53.0% 0.108 108.3);
Tailwind
colors: {
  custom: {
    50: '#9e985a',
    500: '#727012',
    950: '#000000',
  },
}
SCSS
$custom: #727012;
$custom-light: #9e985a;
$custom-dark: #000000;
JSON
{
  "hex": "#727012",
  "rgb": {
    "r": 114,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 58.75,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.10815,
    "h": 108.3
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#727012
secondary
#3739A9
accent
#3CEF38
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #727012

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

Preview Lab → · Contrast checker → · Palette generator →

#727012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva