#727816#727816

#727816 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.115 H 113.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#727816
RGBrgb(114, 120, 22)
HSLhsl(64, 69%, 28%)
HSVhsv(64, 82%, 47%)
CMYKcmyk(5%, 0%, 81.7%, 52.9%)
CIE-LABlab(48.35, -14.55, 48.42)
CIE-LCHlch(48.35, 50.56, 106.73°)
OKLaboklab(54.97% -0.0453 0.1055)
OKLCHoklch(54.97% 0.115 113.3)
XYZxyz(13.8012, 17.0686, 3.3265)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727816 #1C1678
analogous
#784D16 #727816 #417816
triadic
#727816 #167278 #781672
tetradic
#727816 #16784D #1C1678 #781641
square
#727816 #16784D #1C1678 #781641
split-complementary
#727816 #164178 #4D1678
monochromatic
#191A05 #41440D #727816 #A3AC1F #CFD92F

Accessibility & contrast

On white

4.76
#727816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#727816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #727816
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##727816#FFFFFF#000000##FFFFFF
##7278161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#7A7066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #727816;
/* rgb */ color: rgb(114, 120, 22);
/* oklch */ color: oklch(55.0% 0.115 113.3);
Tailwind
colors: {
  custom: {
    50: '#9e9e5d',
    500: '#727816',
    950: '#000000',
  },
}
SCSS
$custom: #727816;
$custom-light: #9e9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#727816",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 63.673,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.11478,
    "h": 113.3
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#727816
secondary
#433CAD
accent
#3CEC47
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727816

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

Preview Lab → · Contrast checker → · Palette generator →

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