#7C8116#7C8116

#7C8116 is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.122 H 112.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7C8116
RGBrgb(124, 129, 22)
HSLhsl(63, 71%, 30%)
HSVhsv(63, 83%, 51%)
CMYKcmyk(3.9%, 0%, 82.9%, 49.4%)
CIE-LABlab(51.89, -14.78, 51.87)
CIE-LCHlch(51.89, 53.93, 105.90°)
OKLaboklab(58.02% -0.0465 0.1124)
OKLCHoklch(58.02% 0.122 112.5)
XYZxyz(16.3078, 20.0439, 3.7687)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8116 #1B1681
analogous
#815116 #7C8116 #468116
triadic
#7C8116 #167C81 #81167C
tetradic
#7C8116 #168151 #1B1681 #811646
square
#7C8116 #168151 #1B1681 #811646
split-complementary
#7C8116 #164681 #511681
monochromatic
#191A04 #4A4D0D #7C8116 #AEB51F #D5DD35

Accessibility & contrast

On white

4.19
#7C8116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7C8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8116
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8116#FFFFFF#000000##000000
##7C81161.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#85796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8116;
/* rgb */ color: rgb(124, 129, 22);
/* oklch */ color: oklch(58.0% 0.122 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a55f',
    500: '#7c8116',
    950: '#000000',
  },
}
SCSS
$custom: #7c8116;
$custom-light: #a5a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8116",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 62.804,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.12164,
    "h": 112.5
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#7C8116
secondary
#433DB6
accent
#3AEE43
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8116

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

Preview Lab → · Contrast checker → · Palette generator →

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