#7C8D19#7C8D19

#7C8D19 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 60.9% C 0.134 H 118.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C8D19
RGBrgb(124, 141, 25)
HSLhsl(69, 70%, 33%)
HSVhsv(69, 82%, 55%)
CMYKcmyk(12.1%, 0%, 82.3%, 44.7%)
CIE-LABlab(55.49, -20.93, 54.17)
CIE-LCHlch(55.49, 58.07, 111.13°)
OKLaboklab(60.91% -0.0632 0.1179)
OKLCHoklch(60.91% 0.134 118.2)
XYZxyz(18.0130, 23.4052, 4.4882)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D19 #2A198D
analogous
#8D6419 #7C8D19 #428D19
triadic
#7C8D19 #197C8D #8D197C
tetradic
#7C8D19 #198D64 #2A198D #8D1942
square
#7C8D19 #198D64 #2A198D #8D1942
split-complementary
#7C8D19 #19428D #64198D
monochromatic
#212507 #4E5910 #7C8D19 #AAC122 #C7DE43

Accessibility & contrast

On white

3.70
#7C8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7C8D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D19
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D19#FFFFFF#000000##000000
##7C8D191.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#848578
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d19;
/* rgb */ color: rgb(124, 141, 25);
/* oklch */ color: oklch(60.9% 0.134 118.2);
Tailwind
colors: {
  custom: {
    50: '#a5ae62',
    500: '#7c8d19',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d19;
$custom-light: #a5ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d19",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 68.793,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60913,
    "c": 0.13376,
    "h": 118.2
  },
  "luminance": 0.23405
}

Semantic roles & 50–950 ramp

primary
#7C8D19
secondary
#5543BF
accent
#3BED55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8D19

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

Preview Lab → · Contrast checker → · Palette generator →

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