#7B9926#7B9926

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

Color values

HEX#7B9926
RGBrgb(123, 153, 38)
HSLhsl(76, 60%, 37%)
HSVhsv(76, 75%, 60%)
CMYKcmyk(19.6%, 0%, 75.2%, 40%)
CIE-LABlab(59.10, -26.75, 53.28)
CIE-LCHlch(59.10, 59.62, 116.66°)
OKLaboklab(63.83% -0.0781 0.1183)
OKLCHoklch(63.83% 0.142 123.4)
XYZxyz(19.9097, 27.1332, 6.0217)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9926 #442699
analogous
#997D26 #7B9926 #429926
triadic
#7B9926 #267B99 #99267B
tetradic
#7B9926 #26997D #442699 #992642
square
#7B9926 #26997D #442699 #992642
split-complementary
#7B9926 #264299 #7D2699
monochromatic
#2C370E #54681A #7B9926 #A2CA32 #B9D862

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9926#FFFFFF#000000##000000
##7B99261.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)
#A28F0E
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#819183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9926;
/* rgb */ color: rgb(123, 153, 38);
/* oklch */ color: oklch(63.8% 0.142 123.4);
Tailwind
colors: {
  custom: {
    50: '#a4b769',
    500: '#7b9926',
    950: '#000000',
  },
}
SCSS
$custom: #7b9926;
$custom-light: #a4b769;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9926",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 75.652,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63829,
    "c": 0.14175,
    "h": 123.4
  },
  "luminance": 0.27133
}

Semantic roles & 50–950 ramp

primary
#7B9926
secondary
#775EBD
accent
#44E36E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9926

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

Preview Lab → · Contrast checker → · Palette generator →

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