#747217#747217

#747217 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.7% C 0.107 H 108.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#747217
RGBrgb(116, 114, 23)
HSLhsl(59, 67%, 27%)
HSVhsv(59, 80%, 45%)
CMYKcmyk(0%, 1.7%, 80.2%, 54.5%)
CIE-LABlab(46.72, -10.29, 46.70)
CIE-LCHlch(46.72, 47.82, 102.43°)
OKLaboklab(53.72% -0.0335 0.1019)
OKLCHoklch(53.72% 0.107 108.2)
XYZxyz(13.3750, 15.8099, 3.1575)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747217 #171974
analogous
#744417 #747217 #477417
triadic
#747217 #177472 #721774
tetradic
#747217 #177444 #171974 #741747
square
#747217 #177444 #171974 #741747
split-complementary
#747217 #174774 #441774
monochromatic
#1A1905 #41400D #747217 #A7A421 #D6D230

Accessibility & contrast

On white

5.05
#747217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#747217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #747217
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747217#FFFFFF#000000##FFFFFF
##7472171.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#7D6A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #747217;
/* rgb */ color: rgb(116, 114, 23);
/* oklch */ color: oklch(53.7% 0.107 108.2);
Tailwind
colors: {
  custom: {
    50: '#9f9a5d',
    500: '#747217',
    950: '#000000',
  },
}
SCSS
$custom: #747217;
$custom-light: #9f9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#747217",
  "rgb": {
    "r": 116,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 58.71,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.10725,
    "h": 108.2
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#747217
secondary
#3D40A9
accent
#42EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #747217

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

Preview Lab → · Contrast checker → · Palette generator →

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