#7F7617#7F7617

#7F7617 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.110 H 103.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F7617
RGBrgb(127, 118, 23)
HSLhsl(55, 69%, 29%)
HSVhsv(55, 82%, 50%)
CMYKcmyk(0%, 7.1%, 81.9%, 50.2%)
CIE-LABlab(48.92, -7.34, 49.06)
CIE-LCHlch(48.92, 49.60, 98.51°)
OKLaboklab(55.72% -0.0258 0.1064)
OKLCHoklch(55.72% 0.11 103.7)
XYZxyz(15.3862, 17.5314, 3.3839)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7617 #17207F
analogous
#7F4217 #7F7617 #547F17
triadic
#7F7617 #177F76 #76177F
tetradic
#7F7617 #177F42 #17207F #7F1754
square
#7F7617 #177F42 #17207F #7F1754
split-complementary
#7F7617 #17547F #42177F
monochromatic
#1A1805 #4B460E #7F7617 #B3A620 #DBCC36

Accessibility & contrast

On white

4.66
#7F7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F7617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7617
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7617#FFFFFF#000000##FFFFFF
##7F76171.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7617;
/* rgb */ color: rgb(127, 118, 23);
/* oklch */ color: oklch(55.7% 0.110 103.7);
Tailwind
colors: {
  custom: {
    50: '#a89d5e',
    500: '#7f7617',
    950: '#000000',
  },
}
SCSS
$custom: #7f7617;
$custom-light: #a89d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7617",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 54.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.10951,
    "h": 103.7
  },
  "luminance": 0.17531
}

Semantic roles & 50–950 ramp

primary
#7F7617
secondary
#3E48B4
accent
#4BEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7617

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

Preview Lab → · Contrast checker → · Palette generator →

#7F7617 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva