#7C8619#7C8619

#7C8619 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.126 H 115.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C8619
RGBrgb(124, 134, 25)
HSLhsl(66, 69%, 31%)
HSVhsv(66, 81%, 53%)
CMYKcmyk(7.5%, 0%, 81.3%, 47.5%)
CIE-LABlab(53.39, -17.31, 52.31)
CIE-LCHlch(53.39, 55.10, 108.31°)
OKLaboklab(59.23% -0.0532 0.1139)
OKLCHoklch(59.23% 0.126 115.1)
XYZxyz(17.0133, 21.4058, 4.1550)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8619 #231986
analogous
#865919 #7C8619 #458619
triadic
#7C8619 #197C86 #86197C
tetradic
#7C8619 #198659 #231986 #861945
square
#7C8619 #198659 #231986 #861945
split-complementary
#7C8619 #194586 #591986
monochromatic
#1D1F06 #4C520F #7C8619 #ACBA23 #CDDB3E

Accessibility & contrast

On white

3.98
#7C8619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7C8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8619
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8619#FFFFFF#000000##000000
##7C86191.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908024
Tritanopia (blue-blind)
#857E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c8619;
/* rgb */ color: rgb(124, 134, 25);
/* oklch */ color: oklch(59.2% 0.126 115.1);
Tailwind
colors: {
  custom: {
    50: '#a5a961',
    500: '#7c8619',
    950: '#000000',
  },
}
SCSS
$custom: #7c8619;
$custom-light: #a5a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8619",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 65.505,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.12574,
    "h": 115.1
  },
  "luminance": 0.21405
}

Semantic roles & 50–950 ramp

primary
#7C8619
secondary
#4C41BA
accent
#3CEB4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C8619

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

Preview Lab → · Contrast checker → · Palette generator →

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