#7F991D#7F991D

#7F991D is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.145 H 121.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F991D
RGBrgb(127, 153, 29)
HSLhsl(73, 68%, 36%)
HSVhsv(73, 81%, 60%)
CMYKcmyk(17%, 0%, 81%, 40%)
CIE-LABlab(59.33, -25.49, 56.51)
CIE-LCHlch(59.33, 61.99, 114.28°)
OKLaboklab(64.07% -0.0756 0.1235)
OKLCHoklch(64.07% 0.145 121.5)
XYZxyz(20.3658, 27.3832, 5.3747)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F991D #371D99
analogous
#99751D #7F991D #41991D
triadic
#7F991D #1D7F99 #991D7F
tetradic
#7F991D #1D9975 #371D99 #991D41
square
#7F991D #1D9975 #371D99 #991D41
split-complementary
#7F991D #1D4199 #751D99
monochromatic
#2A3209 #546613 #7F991D #AACC27 #C1DE52

Accessibility & contrast

On white

3.24
#7F991D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7F991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F991D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F991D#FFFFFF#000000##000000
##7F991D1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#869182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f991d;
/* rgb */ color: rgb(127, 153, 29);
/* oklch */ color: oklch(64.1% 0.145 121.5);
Tailwind
colors: {
  custom: {
    50: '#a8b765',
    500: '#7f991d',
    950: '#000000',
  },
}
SCSS
$custom: #7f991d;
$custom-light: #a8b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7f991d",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 72.581,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64071,
    "c": 0.14476,
    "h": 121.5
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#7F991D
secondary
#6851C1
accent
#3DEB61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F991D

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

Preview Lab → · Contrast checker → · Palette generator →

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