#7C8C19#7C8C19

#7C8C19 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.7% C 0.133 H 117.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8C19
RGBrgb(124, 140, 25)
HSLhsl(68, 70%, 32%)
HSVhsv(68, 82%, 55%)
CMYKcmyk(11.4%, 0%, 82.1%, 45.1%)
CIE-LABlab(55.19, -20.42, 53.90)
CIE-LCHlch(55.19, 57.64, 110.75°)
OKLaboklab(60.67% -0.0618 0.1173)
OKLCHoklch(60.67% 0.133 117.8)
XYZxyz(17.8662, 23.1116, 4.4393)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C19 #29198C
analogous
#8C6319 #7C8C19 #428C19
triadic
#7C8C19 #197C8C #8C197C
tetradic
#7C8C19 #198C63 #29198C #8C1942
square
#7C8C19 #198C63 #29198C #8C1942
split-complementary
#7C8C19 #19428C #63198C
monochromatic
#202406 #4E5810 #7C8C19 #AAC022 #C8DD42

Accessibility & contrast

On white

3.74
#7C8C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7C8C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8C19
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8C19#FFFFFF#000000##000000
##7C8C191.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#848477
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c19;
/* rgb */ color: rgb(124, 140, 25);
/* oklch */ color: oklch(60.7% 0.133 117.8);
Tailwind
colors: {
  custom: {
    50: '#a5ad62',
    500: '#7c8c19',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c19;
$custom-light: #a5ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c19",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 68.348,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60672,
    "c": 0.13261,
    "h": 117.8
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

primary
#7C8C19
secondary
#5443BE
accent
#3BED54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8C19

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

Preview Lab → · Contrast checker → · Palette generator →

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