#7C8616#7C8616

#7C8616 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.127 H 115.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C8616
RGBrgb(124, 134, 22)
HSLhsl(65, 72%, 31%)
HSVhsv(65, 84%, 53%)
CMYKcmyk(7.5%, 0%, 83.6%, 47.5%)
CIE-LABlab(53.38, -17.42, 53.17)
CIE-LCHlch(53.38, 55.95, 108.15°)
OKLaboklab(59.21% -0.0538 0.1152)
OKLCHoklch(59.21% 0.127 115)
XYZxyz(16.9826, 21.3935, 3.9936)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8616 #201686
analogous
#865816 #7C8616 #448616
triadic
#7C8616 #167C86 #86167C
tetradic
#7C8616 #168658 #201686 #861644
square
#7C8616 #168658 #201686 #861644
split-complementary
#7C8616 #164486 #581686
monochromatic
#1B1D05 #4B510D #7C8616 #ADBB1F #CFDE38

Accessibility & contrast

On white

3.98
#7C8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7C8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8616
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8616#FFFFFF#000000##000000
##7C86161.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908022
Tritanopia (blue-blind)
#857E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8616;
/* rgb */ color: rgb(124, 134, 22);
/* oklch */ color: oklch(59.2% 0.127 115.0);
Tailwind
colors: {
  custom: {
    50: '#a5a960',
    500: '#7c8616',
    950: '#000000',
  },
}
SCSS
$custom: #7c8616;
$custom-light: #a5a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8616",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 65.357,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59213,
    "c": 0.12714,
    "h": 115
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#7C8616
secondary
#493EBA
accent
#39EF49
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8616

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

Preview Lab → · Contrast checker → · Palette generator →

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