#7F6614#7F6614

#7F6614 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.099 H 90.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F6614
RGBrgb(127, 102, 20)
HSLhsl(46, 73%, 29%)
HSVhsv(46, 84%, 50%)
CMYKcmyk(0%, 19.7%, 84.3%, 50.2%)
CIE-LABlab(44.33, 1.68, 45.99)
CIE-LCHlch(44.33, 46.02, 87.90°)
OKLaboklab(52.07% -0.0006 0.0992)
OKLCHoklch(52.07% 0.099 90.4)
XYZxyz(13.6309, 14.0662, 2.6588)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6614 #142D7F
analogous
#7F3114 #7F6614 #637F14
triadic
#7F6614 #147F66 #66147F
tetradic
#7F6614 #147F31 #142D7F #7F1463
square
#7F6614 #147F31 #142D7F #7F1463
split-complementary
#7F6614 #14637F #31147F
monochromatic
#1A1504 #4A3C0C #7F6614 #B4901C #DEB52F

Accessibility & contrast

On white

5.51
#7F6614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7F6614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6614
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6614#FFFFFF#000000##FFFFFF
##7F66141.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#796C19
Tritanopia (blue-blind)
#8A5C57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6614;
/* rgb */ color: rgb(127, 102, 20);
/* oklch */ color: oklch(52.1% 0.099 90.4);
Tailwind
colors: {
  custom: {
    50: '#a8915a',
    500: '#7f6614',
    950: '#000000',
  },
}
SCSS
$custom: #7f6614;
$custom-light: #a8915a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6614",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 20
  },
  "hsl": {
    "h": 45.981,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.09915,
    "h": 90.4
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#7F6614
secondary
#3B57B4
accent
#63EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6614

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

Preview Lab → · Contrast checker → · Palette generator →

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