#7F6716#7F6716

#7F6716 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.3% C 0.099 H 91.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7F6716
RGBrgb(127, 103, 22)
HSLhsl(46, 70%, 29%)
HSVhsv(46, 83%, 50%)
CMYKcmyk(0%, 18.9%, 82.7%, 50.2%)
CIE-LABlab(44.62, 1.18, 45.56)
CIE-LCHlch(44.62, 45.57, 88.52°)
OKLaboklab(52.31% -0.0019 0.0987)
OKLCHoklch(52.31% 0.099 91.1)
XYZxyz(13.7483, 14.2713, 2.7894)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6716 #162E7F
analogous
#7F3316 #7F6716 #637F16
triadic
#7F6716 #167F67 #67167F
tetradic
#7F6716 #167F33 #162E7F #7F1663
square
#7F6716 #167F33 #162E7F #7F1663
split-complementary
#7F6716 #16637F #33167F
monochromatic
#1A1505 #4B3D0D #7F6716 #B3911F #DCB534

Accessibility & contrast

On white

5.45
#7F6716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7F6716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6716
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6716#FFFFFF#000000##FFFFFF
##7F67161.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f6716;
/* rgb */ color: rgb(127, 103, 22);
/* oklch */ color: oklch(52.3% 0.099 91.1);
Tailwind
colors: {
  custom: {
    50: '#a8925b',
    500: '#7f6716',
    950: '#000000',
  },
}
SCSS
$custom: #7f6716;
$custom-light: #a8925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6716",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 46.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.09869,
    "h": 91.1
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#7F6716
secondary
#3D58B4
accent
#63ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6716

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

Preview Lab → · Contrast checker → · Palette generator →

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