#727212#727212

#727212 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.110 H 109.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#727212
RGBrgb(114, 114, 18)
HSLhsl(60, 73%, 26%)
HSVhsv(60, 84%, 45%)
CMYKcmyk(0%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.52, -11.43, 48.03)
CIE-LCHlch(46.52, 49.37, 103.39°)
OKLaboklab(53.51% -0.037 0.1038)
OKLCHoklch(53.51% 0.11 109.6)
XYZxyz(13.0664, 15.6561, 2.9058)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727212 #121272
analogous
#724212 #727212 #427212
triadic
#727212 #127272 #721272
tetradic
#727212 #127242 #121272 #721242
square
#727212 #127242 #121272 #721242
split-complementary
#727212 #124272 #421272
monochromatic
#1A1A04 #3D3D0A #727212 #A7A71A #DCDC23

Accessibility & contrast

On white

5.08
#727212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#727212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727212
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727212#FFFFFF#000000##FFFFFF
##7272121.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7D701B
Tritanopia (blue-blind)
#7B6A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #727212;
/* rgb */ color: rgb(114, 114, 18);
/* oklch */ color: oklch(53.5% 0.110 109.6);
Tailwind
colors: {
  custom: {
    50: '#9e9a5b',
    500: '#727212',
    950: '#000000',
  },
}
SCSS
$custom: #727212;
$custom-light: #9e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#727212",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.11021,
    "h": 109.6
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#727212
secondary
#3737A9
accent
#38EF38
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #727212

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

Preview Lab → · Contrast checker → · Palette generator →

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