#7C8111#7C8111

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

Color values

HEX#7C8111
RGBrgb(124, 129, 17)
HSLhsl(63, 77%, 29%)
HSVhsv(63, 87%, 51%)
CMYKcmyk(3.9%, 0%, 86.8%, 49.4%)
CIE-LABlab(51.87, -14.94, 53.19)
CIE-LCHlch(51.87, 55.25, 105.69°)
OKLaboklab(58% -0.0473 0.1143)
OKLCHoklch(58% 0.124 112.5)
XYZxyz(16.2642, 20.0265, 3.5389)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8111 #161181
analogous
#814E11 #7C8111 #448111
triadic
#7C8111 #117C81 #81117C
tetradic
#7C8111 #11814E #161181 #811144
square
#7C8111 #11814E #161181 #811144
split-complementary
#7C8111 #114481 #4E1181
monochromatic
#1A1B04 #484B0A #7C8111 #B0B718 #DBE32A

Accessibility & contrast

On white

4.20
#7C8111 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8111#FFFFFF#000000##000000
##7C81111.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7A00
Deuteranopia (green-blind)
#8C7D1D
Tritanopia (blue-blind)
#85786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8111;
/* rgb */ color: rgb(124, 129, 17);
/* oklch */ color: oklch(58.0% 0.124 112.5);
Tailwind
colors: {
  custom: {
    50: '#a6a55d',
    500: '#7c8111',
    950: '#000000',
  },
}
SCSS
$custom: #7c8111;
$custom-light: #a6a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8111",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 62.679,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.12373,
    "h": 112.5
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#7C8111
secondary
#3D37B7
accent
#35F33D
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8111

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

Preview Lab → · Contrast checker → · Palette generator →

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