#7B9924#7B9924

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

Color values

HEX#7B9924
RGBrgb(123, 153, 36)
HSLhsl(75, 62%, 37%)
HSVhsv(75, 76%, 60%)
CMYKcmyk(19.6%, 0%, 76.5%, 40%)
CIE-LABlab(59.09, -26.86, 53.96)
CIE-LCHlch(59.09, 60.28, 116.46°)
OKLaboklab(63.82% -0.0785 0.1194)
OKLCHoklch(63.82% 0.143 123.3)
XYZxyz(19.8783, 27.1207, 5.8563)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9924 #422499
analogous
#997D24 #7B9924 #409924
triadic
#7B9924 #247B99 #99247B
tetradic
#7B9924 #24997D #422499 #992440
square
#7B9924 #24997D #422499 #992440
split-complementary
#7B9924 #244099 #7D2499
monochromatic
#2B360D #536718 #7B9924 #A3CB30 #BAD95E

Accessibility & contrast

On white

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

On black

6.42
#7B9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9924
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9924#FFFFFF#000000##000000
##7B99241.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9924;
/* rgb */ color: rgb(123, 153, 36);
/* oklch */ color: oklch(63.8% 0.143 123.3);
Tailwind
colors: {
  custom: {
    50: '#a5b768',
    500: '#7b9924',
    950: '#000000',
  },
}
SCSS
$custom: #7b9924;
$custom-light: #a5b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9924",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 75.385,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63816,
    "c": 0.14292,
    "h": 123.3
  },
  "luminance": 0.27121
}

Semantic roles & 50–950 ramp

primary
#7B9924
secondary
#745BBE
accent
#43E56C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9924

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

Preview Lab → · Contrast checker → · Palette generator →

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