#7F6411#7F6411

#7F6411 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.100 H 88.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7F6411
RGBrgb(127, 100, 17)
HSLhsl(45, 76%, 28%)
HSVhsv(45, 87%, 50%)
CMYKcmyk(0%, 21.3%, 86.6%, 50.2%)
CIE-LABlab(43.75, 2.75, 46.47)
CIE-LCHlch(43.75, 46.55, 86.61°)
OKLaboklab(51.62% 0.0021 0.0995)
OKLCHoklch(51.62% 0.1 88.8)
XYZxyz(13.4116, 13.6678, 2.4620)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6411 #112C7F
analogous
#7F2D11 #7F6411 #637F11
triadic
#7F6411 #117F64 #64117F
tetradic
#7F6411 #117F2D #112C7F #7F1163
square
#7F6411 #117F2D #112C7F #7F1163
split-complementary
#7F6411 #11637F #2D117F
monochromatic
#1B1504 #49390A #7F6411 #B58E18 #E2B528

Accessibility & contrast

On white

5.62
#7F6411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7F6411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6411
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6411#FFFFFF#000000##FFFFFF
##7F64111.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#786A17
Tritanopia (blue-blind)
#8A5A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f6411;
/* rgb */ color: rgb(127, 100, 17);
/* oklch */ color: oklch(51.6% 0.100 88.8);
Tailwind
colors: {
  custom: {
    50: '#a88f59',
    500: '#7f6411',
    950: '#000000',
  },
}
SCSS
$custom: #7f6411;
$custom-light: #a88f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6411",
  "rgb": {
    "r": 127,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 45.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.09951,
    "h": 88.8
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#7F6411
secondary
#3756B5
accent
#64F335
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6411

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

Preview Lab → · Contrast checker → · Palette generator →

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