#7D991F#7D991F

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

Color values

HEX#7D991F
RGBrgb(125, 153, 31)
HSLhsl(74, 66%, 36%)
HSVhsv(74, 80%, 60%)
CMYKcmyk(18.3%, 0%, 79.7%, 40%)
CIE-LABlab(59.20, -26.25, 55.74)
CIE-LCHlch(59.20, 61.61, 115.22°)
OKLaboklab(63.93% -0.0774 0.1222)
OKLCHoklch(63.93% 0.145 122.3)
XYZxyz(20.0963, 27.2413, 5.4954)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D991F #3B1F99
analogous
#99781F #7D991F #40991F
triadic
#7D991F #1F7D99 #991F7D
tetradic
#7D991F #1F9978 #3B1F99 #991F40
square
#7D991F #1F9978 #3B1F99 #991F40
split-complementary
#7D991F #1F4099 #781F99
monochromatic
#2A330A #536615 #7D991F #A7CC29 #BEDD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D991F#FFFFFF#000000##000000
##7D991F1.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)
#A28F00
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d991f;
/* rgb */ color: rgb(125, 153, 31);
/* oklch */ color: oklch(63.9% 0.145 122.3);
Tailwind
colors: {
  custom: {
    50: '#a6b766',
    500: '#7d991f',
    950: '#000000',
  },
}
SCSS
$custom: #7d991f;
$custom-light: #a6b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7d991f",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 73.77,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63933,
    "c": 0.14468,
    "h": 122.3
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#7D991F
secondary
#6C54C0
accent
#3FE966
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D991F

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

Preview Lab → · Contrast checker → · Palette generator →

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