#7C8011#7C8011

#7C8011 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.123 H 111.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C8011
RGBrgb(124, 128, 17)
HSLhsl(62, 77%, 28%)
HSVhsv(62, 87%, 50%)
CMYKcmyk(3.1%, 0%, 86.7%, 49.8%)
CIE-LABlab(51.57, -14.41, 52.94)
CIE-LCHlch(51.57, 54.86, 105.23°)
OKLaboklab(57.76% -0.0458 0.1138)
OKLCHoklch(57.76% 0.123 111.9)
XYZxyz(16.1331, 19.7643, 3.4953)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8011 #151180
analogous
#804C11 #7C8011 #448011
triadic
#7C8011 #117C80 #80117C
tetradic
#7C8011 #11804C #151180 #801144
square
#7C8011 #11804C #151180 #801144
split-complementary
#7C8011 #114480 #4C1180
monochromatic
#1A1B04 #484A0A #7C8011 #B0B618 #DCE329

Accessibility & contrast

On white

4.24
#7C8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7C8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8011
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8011#FFFFFF#000000##000000
##7C80111.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#85776D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c8011;
/* rgb */ color: rgb(124, 128, 17);
/* oklch */ color: oklch(57.8% 0.123 111.9);
Tailwind
colors: {
  custom: {
    50: '#a6a45d',
    500: '#7c8011',
    950: '#000000',
  },
}
SCSS
$custom: #7c8011;
$custom-light: #a6a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8011",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 62.162,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.12268,
    "h": 111.9
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#7C8011
secondary
#3C37B6
accent
#35F33C
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8011

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

Preview Lab → · Contrast checker → · Palette generator →

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