#7C991F#7C991F

#7C991F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.145 H 122.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7C991F
RGBrgb(124, 153, 31)
HSLhsl(74, 66%, 36%)
HSVhsv(74, 80%, 60%)
CMYKcmyk(19%, 0%, 79.7%, 40%)
CIE-LABlab(59.13, -26.68, 55.65)
CIE-LCHlch(59.13, 61.71, 115.61°)
OKLaboklab(63.86% -0.0785 0.1221)
OKLCHoklch(63.86% 0.145 122.7)
XYZxyz(19.9510, 27.1664, 5.4886)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C991F #3C1F99
analogous
#99791F #7C991F #3F991F
triadic
#7C991F #1F7C99 #991F7C
tetradic
#7C991F #1F9979 #3C1F99 #991F3F
square
#7C991F #1F9979 #3C1F99 #991F3F
split-complementary
#7C991F #1F3F99 #791F99
monochromatic
#2A330A #536615 #7C991F #A5CC29 #BDDD56

Accessibility & contrast

On white

3.26
#7C991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C991F#FFFFFF#000000##000000
##7C991F1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#839183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c991f;
/* rgb */ color: rgb(124, 153, 31);
/* oklch */ color: oklch(63.9% 0.145 122.7);
Tailwind
colors: {
  custom: {
    50: '#a5b766',
    500: '#7c991f',
    950: '#000000',
  },
}
SCSS
$custom: #7c991f;
$custom-light: #a5b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7c991f",
  "rgb": {
    "r": 124,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 74.262,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63859,
    "c": 0.14514,
    "h": 122.7
  },
  "luminance": 0.27166
}

Semantic roles & 50–950 ramp

primary
#7C991F
secondary
#6D54C0
accent
#3FE967
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7C991F

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

Preview Lab → · Contrast checker → · Palette generator →

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