#7F9924#7F9924

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

Color values

HEX#7F9924
RGBrgb(127, 153, 36)
HSLhsl(73, 62%, 37%)
HSVhsv(73, 76%, 60%)
CMYKcmyk(17%, 0%, 76.5%, 40%)
CIE-LABlab(59.36, -25.17, 54.32)
CIE-LCHlch(59.36, 59.87, 114.86°)
OKLaboklab(64.11% -0.0741 0.1201)
OKLCHoklch(64.11% 0.141 121.7)
XYZxyz(20.4624, 27.4218, 5.8837)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9924 #3E2499
analogous
#997924 #7F9924 #459924
triadic
#7F9924 #247F99 #99247F
tetradic
#7F9924 #249979 #3E2499 #992445
square
#7F9924 #249979 #3E2499 #992445
split-complementary
#7F9924 #244599 #792499
monochromatic
#2D360D #566718 #7F9924 #A8CB30 #BED95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F9924#FFFFFF#000000##000000
##7F99241.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)
#A38F08
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9924;
/* rgb */ color: rgb(127, 153, 36);
/* oklch */ color: oklch(64.1% 0.141 121.7);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7f9924',
    950: '#000000',
  },
}
SCSS
$custom: #7f9924;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9924",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 73.333,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6411,
    "c": 0.14111,
    "h": 121.7
  },
  "luminance": 0.27422
}

Semantic roles & 50–950 ramp

primary
#7F9924
secondary
#715BBE
accent
#43E567
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9924

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

Preview Lab → · Contrast checker → · Palette generator →

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