#7F6616#7F6616

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

Color values

HEX#7F6616
RGBrgb(127, 102, 22)
HSLhsl(46, 70%, 29%)
HSVhsv(46, 83%, 50%)
CMYKcmyk(0%, 19.7%, 82.7%, 50.2%)
CIE-LABlab(44.34, 1.76, 45.31)
CIE-LCHlch(44.34, 45.34, 87.78°)
OKLaboklab(52.09% -0.0002 0.0981)
OKLCHoklch(52.09% 0.098 90.1)
XYZxyz(13.6494, 14.0736, 2.7565)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6616 #162F7F
analogous
#7F3116 #7F6616 #647F16
triadic
#7F6616 #167F66 #66167F
tetradic
#7F6616 #167F31 #162F7F #7F1664
square
#7F6616 #167F31 #162F7F #7F1664
split-complementary
#7F6616 #16647F #31167F
monochromatic
#1A1505 #4B3C0D #7F6616 #B3901F #DCB434

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6616#FFFFFF#000000##FFFFFF
##7F66161.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)
#736504
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#8A5C57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6616;
/* rgb */ color: rgb(127, 102, 22);
/* oklch */ color: oklch(52.1% 0.098 90.1);
Tailwind
colors: {
  custom: {
    50: '#a8915b',
    500: '#7f6616',
    950: '#000000',
  },
}
SCSS
$custom: #7f6616;
$custom-light: #a8915b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6616",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 45.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.09813,
    "h": 90.1
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#7F6616
secondary
#3D59B4
accent
#65ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6616

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

Preview Lab → · Contrast checker → · Palette generator →

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