#7D8616#7D8616

#7D8616 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.127 H 114.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D8616
RGBrgb(125, 134, 22)
HSLhsl(65, 72%, 31%)
HSVhsv(65, 84%, 53%)
CMYKcmyk(6.7%, 0%, 83.6%, 47.5%)
CIE-LABlab(53.46, -16.97, 53.27)
CIE-LCHlch(53.46, 55.91, 107.67°)
OKLaboklab(59.3% -0.0526 0.1154)
OKLCHoklch(59.3% 0.127 114.5)
XYZxyz(17.1279, 21.4684, 4.0005)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8616 #1F1686
analogous
#865716 #7D8616 #458616
triadic
#7D8616 #167D86 #86167D
tetradic
#7D8616 #168657 #1F1686 #861645
square
#7D8616 #168657 #1F1686 #861645
split-complementary
#7D8616 #164586 #571686
monochromatic
#1B1D05 #4C510D #7D8616 #AEBB1F #D1DE38

Accessibility & contrast

On white

3.97
#7D8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7D8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8616
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8616#FFFFFF#000000##000000
##7D86161.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#867E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8616;
/* rgb */ color: rgb(125, 134, 22);
/* oklch */ color: oklch(59.3% 0.127 114.5);
Tailwind
colors: {
  custom: {
    50: '#a6a960',
    500: '#7d8616',
    950: '#000000',
  },
}
SCSS
$custom: #7d8616;
$custom-light: #a6a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8616",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 64.821,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.1268,
    "h": 114.5
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#7D8616
secondary
#483EBA
accent
#39EF48
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8616

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

Preview Lab → · Contrast checker → · Palette generator →

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