#7E991C#7E991C

#7E991C is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.146 H 121.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7E991C
RGBrgb(126, 153, 28)
HSLhsl(73, 69%, 35%)
HSVhsv(73, 82%, 60%)
CMYKcmyk(17.6%, 0%, 81.7%, 40%)
CIE-LABlab(59.25, -25.96, 56.70)
CIE-LCHlch(59.25, 62.36, 114.60°)
OKLaboklab(63.99% -0.0768 0.1238)
OKLCHoklch(63.99% 0.146 121.8)
XYZxyz(20.2054, 27.3019, 5.3037)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E991C #371C99
analogous
#99751C #7E991C #3F991C
triadic
#7E991C #1C7E99 #991C7E
tetradic
#7E991C #1C9975 #371C99 #991C3F
square
#7E991C #1C9975 #371C99 #991C3F
split-complementary
#7E991C #1C3F99 #751C99
monochromatic
#293209 #536513 #7E991C #A9CD25 #C0DF50

Accessibility & contrast

On white

3.25
#7E991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7E991C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E991C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E991C#FFFFFF#000000##000000
##7E991C1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8F29
Tritanopia (blue-blind)
#859182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e991c;
/* rgb */ color: rgb(126, 153, 28);
/* oklch */ color: oklch(64.0% 0.146 121.8);
Tailwind
colors: {
  custom: {
    50: '#a7b765',
    500: '#7e991c',
    950: '#000000',
  },
}
SCSS
$custom: #7e991c;
$custom-light: #a7b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7e991c",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 72.96,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.14567,
    "h": 121.8
  },
  "luminance": 0.27302
}

Semantic roles & 50–950 ramp

primary
#7E991C
secondary
#684FC2
accent
#3CEC62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E991C

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

Preview Lab → · Contrast checker → · Palette generator →

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