#7C8114#7C8114

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

Color values

HEX#7C8114
RGBrgb(124, 129, 20)
HSLhsl(63, 73%, 29%)
HSVhsv(63, 84%, 51%)
CMYKcmyk(3.9%, 0%, 84.5%, 49.4%)
CIE-LABlab(51.88, -14.85, 52.42)
CIE-LCHlch(51.88, 54.48, 105.81°)
OKLaboklab(58.01% -0.0468 0.1132)
OKLCHoklch(58.01% 0.123 112.5)
XYZxyz(16.2893, 20.0365, 3.6710)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8114 #191481
analogous
#815014 #7C8114 #468114
triadic
#7C8114 #147C81 #81147C
tetradic
#7C8114 #148150 #191481 #811446
square
#7C8114 #148150 #191481 #811446
split-complementary
#7C8114 #144681 #501481
monochromatic
#191A04 #494C0C #7C8114 #AFB61C #D7DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8114#FFFFFF#000000##000000
##7C81141.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)
#8C7B00
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#85796E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c8114;
/* rgb */ color: rgb(124, 129, 20);
/* oklch */ color: oklch(58.0% 0.123 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a55e',
    500: '#7c8114',
    950: '#000000',
  },
}
SCSS
$custom: #7c8114;
$custom-light: #a5a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8114",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 62.752,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.58008,
    "c": 0.12253,
    "h": 112.5
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#7C8114
secondary
#403BB6
accent
#38F040
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8114

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

Preview Lab → · Contrast checker → · Palette generator →

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