#727817#727817

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

Color values

HEX#727817
RGBrgb(114, 120, 23)
HSLhsl(64, 68%, 28%)
HSVhsv(64, 81%, 47%)
CMYKcmyk(5%, 0%, 80.8%, 52.9%)
CIE-LABlab(48.35, -14.51, 48.11)
CIE-LCHlch(48.35, 50.25, 106.79°)
OKLaboklab(54.98% -0.0451 0.105)
OKLCHoklch(54.98% 0.114 113.3)
XYZxyz(13.8110, 17.0725, 3.3782)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727817 #1D1778
analogous
#784D17 #727817 #427817
triadic
#727817 #177278 #781772
tetradic
#727817 #17784D #1D1778 #781742
square
#727817 #17784D #1D1778 #781742
split-complementary
#727817 #174278 #4D1778
monochromatic
#181A05 #41450D #727817 #A3AB21 #CDD832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727817#FFFFFF#000000##FFFFFF
##7278171.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)
#827420
Tritanopia (blue-blind)
#7A7066
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #727817;
/* rgb */ color: rgb(114, 120, 23);
/* oklch */ color: oklch(55.0% 0.114 113.3);
Tailwind
colors: {
  custom: {
    50: '#9e9e5e',
    500: '#727817',
    950: '#000000',
  },
}
SCSS
$custom: #727817;
$custom-light: #9e9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#727817",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 63.711,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.11426,
    "h": 113.3
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#727817
secondary
#453EAD
accent
#3DEB48
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #727817

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

Preview Lab → · Contrast checker → · Palette generator →

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