#7B9928#7B9928

#7B9928 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.141 H 123.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7B9928
RGBrgb(123, 153, 40)
HSLhsl(76, 59%, 38%)
HSVhsv(76, 74%, 60%)
CMYKcmyk(19.6%, 0%, 73.9%, 40%)
CIE-LABlab(59.11, -26.64, 52.57)
CIE-LCHlch(59.11, 58.93, 116.87°)
OKLaboklab(63.84% -0.0776 0.1172)
OKLCHoklch(63.84% 0.141 123.5)
XYZxyz(19.9428, 27.1465, 6.1962)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9928 #462899
analogous
#997E28 #7B9928 #439928
triadic
#7B9928 #287B99 #99287B
tetradic
#7B9928 #28997E #462899 #992843
square
#7B9928 #28997E #462899 #992843
split-complementary
#7B9928 #284399 #7E2899
monochromatic
#2D380F #54681B #7B9928 #A2CA35 #B8D765

Accessibility & contrast

On white

3.27
#7B9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7B9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9928
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9928#FFFFFF#000000##000000
##7B99281.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F12
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#819183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9928;
/* rgb */ color: rgb(123, 153, 40);
/* oklch */ color: oklch(63.8% 0.141 123.5);
Tailwind
colors: {
  custom: {
    50: '#a4b76a',
    500: '#7b9928',
    950: '#000000',
  },
}
SCSS
$custom: #7b9928;
$custom-light: #a4b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9928",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 75.929,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63843,
    "c": 0.14052,
    "h": 123.5
  },
  "luminance": 0.27147
}

Semantic roles & 50–950 ramp

primary
#7B9928
secondary
#7960BD
accent
#46E26F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9928

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

Preview Lab → · Contrast checker → · Palette generator →

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