#7C991A#7C991A

#7C991A is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.147 H 122.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7C991A
RGBrgb(124, 153, 26)
HSLhsl(74, 71%, 35%)
HSVhsv(74, 83%, 60%)
CMYKcmyk(19%, 0%, 83%, 40%)
CIE-LABlab(59.11, -26.88, 57.08)
CIE-LCHlch(59.11, 63.09, 115.22°)
OKLaboklab(63.83% -0.0794 0.1243)
OKLCHoklch(63.83% 0.147 122.6)
XYZxyz(19.8902, 27.1421, 5.1682)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C991A #371A99
analogous
#99771A #7C991A #3C991A
triadic
#7C991A #1A7C99 #991A7C
tetradic
#7C991A #1A9977 #371A99 #991A3C
square
#7C991A #1A9977 #371A99 #991A3C
split-complementary
#7C991A #1A3C99 #771A99
monochromatic
#273008 #526511 #7C991A #A6CD23 #BFE14D

Accessibility & contrast

On white

3.27
#7C991A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7C991A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C991A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C991A#FFFFFF#000000##000000
##7C991A1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#839182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c991a;
/* rgb */ color: rgb(124, 153, 26);
/* oklch */ color: oklch(63.8% 0.147 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b764',
    500: '#7c991a',
    950: '#000000',
  },
}
SCSS
$custom: #7c991a;
$custom-light: #a6b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7c991a",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 73.701,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63834,
    "c": 0.14747,
    "h": 122.6
  },
  "luminance": 0.27142
}

Semantic roles & 50–950 ramp

primary
#7C991A
secondary
#674CC3
accent
#3AEE63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C991A

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

Preview Lab → · Contrast checker → · Palette generator →

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