#7F6512#7F6512

#7F6512 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.100 H 89.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7F6512
RGBrgb(127, 101, 18)
HSLhsl(46, 75%, 28%)
HSVhsv(46, 86%, 50%)
CMYKcmyk(0%, 20.5%, 85.8%, 50.2%)
CIE-LABlab(44.04, 2.20, 46.39)
CIE-LCHlch(44.04, 46.45, 87.29°)
OKLaboklab(51.84% 0.0006 0.0996)
OKLCHoklch(51.84% 0.1 89.6)
XYZxyz(13.5161, 13.8640, 2.5363)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6512 #122C7F
analogous
#7F2E12 #7F6512 #627F12
triadic
#7F6512 #127F65 #65127F
tetradic
#7F6512 #127F2E #122C7F #7F1262
square
#7F6512 #127F2E #122C7F #7F1262
split-complementary
#7F6512 #12627F #2E127F
monochromatic
#1B1504 #493A0A #7F6512 #B5901A #E1B52B

Accessibility & contrast

On white

5.57
#7F6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6512
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6512#FFFFFF#000000##FFFFFF
##7F65121.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#786B18
Tritanopia (blue-blind)
#8A5B56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f6512;
/* rgb */ color: rgb(127, 101, 18);
/* oklch */ color: oklch(51.8% 0.100 89.6);
Tailwind
colors: {
  custom: {
    50: '#a89059',
    500: '#7f6512',
    950: '#000000',
  },
}
SCSS
$custom: #7f6512;
$custom-light: #a89059;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6512",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 45.688,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.09956,
    "h": 89.6
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#7F6512
secondary
#3856B5
accent
#63F236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6512

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

Preview Lab → · Contrast checker → · Palette generator →

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