#7F9928#7F9928

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

Color values

HEX#7F9928
RGBrgb(127, 153, 40)
HSLhsl(74, 59%, 38%)
HSVhsv(74, 74%, 60%)
CMYKcmyk(17%, 0%, 73.9%, 40%)
CIE-LABlab(59.39, -24.96, 52.94)
CIE-LCHlch(59.39, 58.52, 115.24°)
OKLaboklab(64.14% -0.0732 0.1178)
OKLCHoklch(64.14% 0.139 121.9)
XYZxyz(20.5269, 27.4477, 6.2236)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9928 #422899
analogous
#997A28 #7F9928 #479928
triadic
#7F9928 #287F99 #99287F
tetradic
#7F9928 #28997A #422899 #992847
square
#7F9928 #28997A #422899 #992847
split-complementary
#7F9928 #284799 #7A2899
monochromatic
#2E380F #57681B #7F9928 #A7CA35 #BCD765

Accessibility & contrast

On white

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

On black

6.49
#7F9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9928
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9928#FFFFFF#000000##000000
##7F99281.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29012
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f9928;
/* rgb */ color: rgb(127, 153, 40);
/* oklch */ color: oklch(64.1% 0.139 121.9);
Tailwind
colors: {
  custom: {
    50: '#a7b76a',
    500: '#7f9928',
    950: '#000000',
  },
}
SCSS
$custom: #7f9928;
$custom-light: #a7b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9928",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 73.805,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64137,
    "c": 0.13871,
    "h": 121.9
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

primary
#7F9928
secondary
#7560BD
accent
#46E26A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9928

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

Preview Lab → · Contrast checker → · Palette generator →

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