#7D991C#7D991C

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

Color values

HEX#7D991C
RGBrgb(125, 153, 28)
HSLhsl(73, 69%, 35%)
HSVhsv(73, 82%, 60%)
CMYKcmyk(18.3%, 0%, 81.7%, 40%)
CIE-LABlab(59.18, -26.38, 56.62)
CIE-LCHlch(59.18, 62.46, 114.98°)
OKLaboklab(63.92% -0.0779 0.1236)
OKLCHoklch(63.92% 0.146 122.2)
XYZxyz(20.0586, 27.2262, 5.2968)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D991C #381C99
analogous
#99761C #7D991C #3E991C
triadic
#7D991C #1C7D99 #991C7D
tetradic
#7D991C #1C9976 #381C99 #991C3E
square
#7D991C #1C9976 #381C99 #991C3E
split-complementary
#7D991C #1C3E99 #761C99
monochromatic
#283209 #536513 #7D991C #A7CD25 #BFDF50

Accessibility & contrast

On white

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

On black

6.45
#7D991C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D991C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D991C#FFFFFF#000000##000000
##7D991C1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d991c;
/* rgb */ color: rgb(125, 153, 28);
/* oklch */ color: oklch(63.9% 0.146 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b765',
    500: '#7d991c',
    950: '#000000',
  },
}
SCSS
$custom: #7d991c;
$custom-light: #a6b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7d991c",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 73.44,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63917,
    "c": 0.14612,
    "h": 122.2
  },
  "luminance": 0.27226
}

Semantic roles & 50–950 ramp

primary
#7D991C
secondary
#694FC2
accent
#3CEC63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D991C

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

Preview Lab → · Contrast checker → · Palette generator →

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