#7C8819#7C8819

#7C8819 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.7% C 0.128 H 116.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7C8819
RGBrgb(124, 136, 25)
HSLhsl(66, 69%, 32%)
HSVhsv(66, 82%, 53%)
CMYKcmyk(8.8%, 0%, 81.6%, 46.7%)
CIE-LABlab(53.99, -18.36, 52.84)
CIE-LCHlch(53.99, 55.94, 109.16°)
OKLaboklab(59.71% -0.0561 0.115)
OKLCHoklch(59.71% 0.128 116)
XYZxyz(17.2923, 21.9639, 4.2480)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8819 #251988
analogous
#885D19 #7C8819 #458819
triadic
#7C8819 #197C88 #88197C
tetradic
#7C8819 #19885D #251988 #881945
square
#7C8819 #19885D #251988 #881945
split-complementary
#7C8819 #194588 #5D1988
monochromatic
#1E2106 #4D540F #7C8819 #ABBC23 #CBDC40

Accessibility & contrast

On white

3.89
#7C8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7C8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8819
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8819#FFFFFF#000000##000000
##7C88191.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#848074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c8819;
/* rgb */ color: rgb(124, 136, 25);
/* oklch */ color: oklch(59.7% 0.128 116.0);
Tailwind
colors: {
  custom: {
    50: '#a5aa61',
    500: '#7c8819',
    950: '#000000',
  },
}
SCSS
$custom: #7c8819;
$custom-light: #a5aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8819",
  "rgb": {
    "r": 124,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 66.486,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.128,
    "h": 116
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#7C8819
secondary
#4F41BB
accent
#3CEC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8819

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

Preview Lab → · Contrast checker → · Palette generator →

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