#7F7514#7F7514

#7F7514 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.110 H 103.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F7514
RGBrgb(127, 117, 20)
HSLhsl(54, 73%, 29%)
HSVhsv(54, 84%, 50%)
CMYKcmyk(0%, 7.9%, 84.3%, 50.2%)
CIE-LABlab(48.62, -6.89, 49.72)
CIE-LCHlch(48.62, 50.19, 97.89°)
OKLaboklab(55.47% -0.0248 0.1072)
OKLCHoklch(55.47% 0.11 103)
XYZxyz(15.2407, 17.2858, 3.1954)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7514 #141E7F
analogous
#7F4014 #7F7514 #547F14
triadic
#7F7514 #147F75 #75147F
tetradic
#7F7514 #147F40 #141E7F #7F1454
square
#7F7514 #147F40 #141E7F #7F1454
split-complementary
#7F7514 #14547F #40147F
monochromatic
#1A1804 #4A440C #7F7514 #B4A61C #DECE2F

Accessibility & contrast

On white

4.71
#7F7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7F7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7514
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7514#FFFFFF#000000##FFFFFF
##7F75141.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84751C
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7514;
/* rgb */ color: rgb(127, 117, 20);
/* oklch */ color: oklch(55.5% 0.110 103.0);
Tailwind
colors: {
  custom: {
    50: '#a89c5c',
    500: '#7f7514',
    950: '#000000',
  },
}
SCSS
$custom: #7f7514;
$custom-light: #a89c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7514",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 54.393,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.11008,
    "h": 103
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#7F7514
secondary
#3B46B4
accent
#49EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7514

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

Preview Lab → · Contrast checker → · Palette generator →

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