#7B8616#7B8616

#7B8616 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.127 H 115.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7B8616
RGBrgb(123, 134, 22)
HSLhsl(66, 72%, 31%)
HSVhsv(66, 84%, 53%)
CMYKcmyk(8.2%, 0%, 83.6%, 47.5%)
CIE-LABlab(53.30, -17.88, 53.06)
CIE-LCHlch(53.30, 55.99, 108.62°)
OKLaboklab(59.13% -0.055 0.115)
OKLCHoklch(59.13% 0.127 115.5)
XYZxyz(16.8388, 21.3194, 3.9869)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8616 #211686
analogous
#865916 #7B8616 #438616
triadic
#7B8616 #167B86 #86167B
tetradic
#7B8616 #168659 #211686 #861643
square
#7B8616 #168659 #211686 #861643
split-complementary
#7B8616 #164386 #591686
monochromatic
#1A1D05 #4B510D #7B8616 #ABBB1F #CEDE38

Accessibility & contrast

On white

3.99
#7B8616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7B8616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8616
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8616#FFFFFF#000000##000000
##7B86161.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#847E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b8616;
/* rgb */ color: rgb(123, 134, 22);
/* oklch */ color: oklch(59.1% 0.127 115.5);
Tailwind
colors: {
  custom: {
    50: '#a5a960',
    500: '#7b8616',
    950: '#000000',
  },
}
SCSS
$custom: #7b8616;
$custom-light: #a5a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8616",
  "rgb": {
    "r": 123,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 65.893,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.12748,
    "h": 115.5
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#7B8616
secondary
#4A3EBA
accent
#39EF4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7B8616

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

Preview Lab → · Contrast checker → · Palette generator →

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