#7C8110#7C8110

#7C8110 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.00:1 contrast (WCAG AA passes).

Color values

HEX#7C8110
RGBrgb(124, 129, 16)
HSLhsl(63, 78%, 28%)
HSVhsv(63, 88%, 51%)
CMYKcmyk(3.9%, 0%, 87.6%, 49.4%)
CIE-LABlab(51.86, -14.97, 53.42)
CIE-LCHlch(51.86, 55.48, 105.65°)
OKLaboklab(57.99% -0.0474 0.1147)
OKLCHoklch(57.99% 0.124 112.5)
XYZxyz(16.2565, 20.0234, 3.4987)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8110 #151081
analogous
#814D10 #7C8110 #438110
triadic
#7C8110 #107C81 #81107C
tetradic
#7C8110 #10814D #151081 #811043
square
#7C8110 #10814D #151081 #811043
split-complementary
#7C8110 #104381 #4D1081
monochromatic
#1A1B03 #484B09 #7C8110 #B0B717 #DCE427

Accessibility & contrast

On white

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

On black

5.00
#7C8110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8110
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8110#FFFFFF#000000##000000
##7C81101.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8110;
/* rgb */ color: rgb(124, 129, 16);
/* oklch */ color: oklch(58.0% 0.124 112.5);
Tailwind
colors: {
  custom: {
    50: '#a6a55d',
    500: '#7c8110',
    950: '#000000',
  },
}
SCSS
$custom: #7c8110;
$custom-light: #a6a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8110",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 62.655,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.12411,
    "h": 112.5
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#7C8110
secondary
#3C36B7
accent
#33F43C
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8110

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

Preview Lab → · Contrast checker → · Palette generator →

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