#7F7717#7F7717

#7F7717 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.110 H 104.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F7717
RGBrgb(127, 119, 23)
HSLhsl(55, 69%, 29%)
HSVhsv(55, 82%, 50%)
CMYKcmyk(0%, 6.3%, 81.9%, 50.2%)
CIE-LABlab(49.21, -7.90, 49.31)
CIE-LCHlch(49.21, 49.94, 99.10°)
OKLaboklab(55.95% -0.0274 0.107)
OKLCHoklch(55.95% 0.11 104.4)
XYZxyz(15.5046, 17.7682, 3.4234)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7717 #171F7F
analogous
#7F4317 #7F7717 #537F17
triadic
#7F7717 #177F77 #77177F
tetradic
#7F7717 #177F43 #171F7F #7F1753
square
#7F7717 #177F43 #171F7F #7F1753
split-complementary
#7F7717 #17537F #43177F
monochromatic
#1A1805 #4B460E #7F7717 #B3A820 #DBCE36

Accessibility & contrast

On white

4.61
#7F7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7F7717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7717
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7717#FFFFFF#000000##FFFFFF
##7F77171.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7717;
/* rgb */ color: rgb(127, 119, 23);
/* oklch */ color: oklch(55.9% 0.110 104.4);
Tailwind
colors: {
  custom: {
    50: '#a89d5e',
    500: '#7f7717',
    950: '#000000',
  },
}
SCSS
$custom: #7f7717;
$custom-light: #a89d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7717",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 55.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.11044,
    "h": 104.4
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#7F7717
secondary
#3E47B4
accent
#49EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7717

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

Preview Lab → · Contrast checker → · Palette generator →

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