#7C991C#7C991C

#7C991C is a light, vivid yellow-green. Relative luminance 0.272; 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#7C991C
RGBrgb(124, 153, 28)
HSLhsl(74, 69%, 35%)
HSVhsv(74, 82%, 60%)
CMYKcmyk(19%, 0%, 81.7%, 40%)
CIE-LABlab(59.11, -26.80, 56.53)
CIE-LCHlch(59.11, 62.56, 115.37°)
OKLaboklab(63.84% -0.079 0.1234)
OKLCHoklch(63.84% 0.147 122.6)
XYZxyz(19.9133, 27.1513, 5.2900)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C991C #391C99
analogous
#99771C #7C991C #3D991C
triadic
#7C991C #1C7C99 #991C7C
tetradic
#7C991C #1C9977 #391C99 #991C3D
square
#7C991C #1C9977 #391C99 #991C3D
split-complementary
#7C991C #1C3D99 #771C99
monochromatic
#283209 #526513 #7C991C #A6CD25 #BEDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C991C#FFFFFF#000000##000000
##7C991C1.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)
#A28F00
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#839182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c991c;
/* rgb */ color: rgb(124, 153, 28);
/* oklch */ color: oklch(63.8% 0.147 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b765',
    500: '#7c991c',
    950: '#000000',
  },
}
SCSS
$custom: #7c991c;
$custom-light: #a6b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7c991c",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 73.92,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63844,
    "c": 0.14658,
    "h": 122.6
  },
  "luminance": 0.27151
}

Semantic roles & 50–950 ramp

primary
#7C991C
secondary
#6A4FC2
accent
#3CEC65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C991C

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

Preview Lab → · Contrast checker → · Palette generator →

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