#7C8019#7C8019

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

Color values

HEX#7C8019
RGBrgb(124, 128, 25)
HSLhsl(62, 67%, 30%)
HSVhsv(62, 80%, 50%)
CMYKcmyk(3.1%, 0%, 80.5%, 49.8%)
CIE-LABlab(51.60, -14.13, 50.71)
CIE-LCHlch(51.60, 52.64, 105.57°)
OKLaboklab(57.79% -0.0445 0.1105)
OKLCHoklch(57.79% 0.119 111.9)
XYZxyz(16.2074, 19.7940, 3.8864)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8019 #1D1980
analogous
#805019 #7C8019 #498019
triadic
#7C8019 #197C80 #80197C
tetradic
#7C8019 #198050 #1D1980 #801949
square
#7C8019 #198050 #1D1980 #801949
split-complementary
#7C8019 #194980 #501980
monochromatic
#191A05 #4A4D0F #7C8019 #AEB323 #D3D93B

Accessibility & contrast

On white

4.23
#7C8019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7C8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8019
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8019#FFFFFF#000000##000000
##7C80191.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#85786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7c8019;
/* rgb */ color: rgb(124, 128, 25);
/* oklch */ color: oklch(57.8% 0.119 111.9);
Tailwind
colors: {
  custom: {
    50: '#a5a460',
    500: '#7c8019',
    950: '#000000',
  },
}
SCSS
$custom: #7c8019;
$custom-light: #a5a460;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8019",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 62.33,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.1191,
    "h": 111.9
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

primary
#7C8019
secondary
#4541B4
accent
#3EEA44
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C8019

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

Preview Lab → · Contrast checker → · Palette generator →

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