#7C8519#7C8519

#7C8519 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.125 H 114.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C8519
RGBrgb(124, 133, 25)
HSLhsl(65, 68%, 31%)
HSVhsv(65, 81%, 52%)
CMYKcmyk(6.8%, 0%, 81.2%, 47.8%)
CIE-LABlab(53.09, -16.79, 52.04)
CIE-LCHlch(53.09, 54.68, 107.88°)
OKLaboklab(58.99% -0.0518 0.1133)
OKLCHoklch(58.99% 0.125 114.6)
XYZxyz(16.8757, 21.1307, 4.1092)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8519 #221985
analogous
#855819 #7C8519 #468519
triadic
#7C8519 #197C85 #85197C
tetradic
#7C8519 #198558 #221985 #851946
square
#7C8519 #198558 #221985 #851946
split-complementary
#7C8519 #194685 #581985
monochromatic
#1C1E06 #4C510F #7C8519 #ACB923 #CEDB3E

Accessibility & contrast

On white

4.02
#7C8519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7C8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8519
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8519#FFFFFF#000000##000000
##7C85191.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#857D71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8519;
/* rgb */ color: rgb(124, 133, 25);
/* oklch */ color: oklch(59.0% 0.125 114.6);
Tailwind
colors: {
  custom: {
    50: '#a5a861',
    500: '#7c8519',
    950: '#000000',
  },
}
SCSS
$custom: #7c8519;
$custom-light: #a5a861;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8519",
  "rgb": {
    "r": 124,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 65,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.12462,
    "h": 114.6
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#7C8519
secondary
#4B41B9
accent
#3DEB4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C8519

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

Preview Lab → · Contrast checker → · Palette generator →

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