#727217#727217

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

Color values

HEX#727217
RGBrgb(114, 114, 23)
HSLhsl(60, 66%, 27%)
HSVhsv(60, 80%, 45%)
CMYKcmyk(0%, 0%, 79.8%, 55.3%)
CIE-LABlab(46.54, -11.23, 46.47)
CIE-LCHlch(46.54, 47.81, 103.59°)
OKLaboklab(53.53% -0.036 0.1015)
OKLCHoklch(53.53% 0.108 109.5)
XYZxyz(13.1119, 15.6743, 3.1452)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#727217 #171772
analogous
#724517 #727217 #457217
triadic
#727217 #177272 #721772
tetradic
#727217 #177245 #171772 #721745
square
#727217 #177245 #171772 #721745
split-complementary
#727217 #174572 #451772
monochromatic
#191905 #3F3F0D #727217 #A5A521 #D5D52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##727217#FFFFFF#000000##FFFFFF
##7272171.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)
#7C6D01
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#7B6A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #727217;
/* rgb */ color: rgb(114, 114, 23);
/* oklch */ color: oklch(53.5% 0.108 109.5);
Tailwind
colors: {
  custom: {
    50: '#9e9a5d',
    500: '#727217',
    950: '#000000',
  },
}
SCSS
$custom: #727217;
$custom-light: #9e9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#727217",
  "rgb": {
    "r": 114,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.10769,
    "h": 109.5
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#727217
secondary
#3D3DA8
accent
#3EE93E
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #727217

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

Preview Lab → · Contrast checker → · Palette generator →

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