#7B9929#7B9929

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

Color values

HEX#7B9929
RGBrgb(123, 153, 41)
HSLhsl(76, 58%, 38%)
HSVhsv(76, 73%, 60%)
CMYKcmyk(19.6%, 0%, 73.2%, 40%)
CIE-LABlab(59.12, -26.58, 52.21)
CIE-LCHlch(59.12, 58.58, 116.98°)
OKLaboklab(63.85% -0.0773 0.1166)
OKLCHoklch(63.85% 0.14 123.6)
XYZxyz(19.9601, 27.1534, 6.2870)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9929 #472999
analogous
#997F29 #7B9929 #439929
triadic
#7B9929 #297B99 #99297B
tetradic
#7B9929 #29997F #472999 #992943
square
#7B9929 #29997F #472999 #992943
split-complementary
#7B9929 #294399 #7F2999
monochromatic
#2D380F #54691C #7B9929 #A2C936 #B8D666

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9929#FFFFFF#000000##000000
##7B99291.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)
#A28F14
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#819183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9929;
/* rgb */ color: rgb(123, 153, 41);
/* oklch */ color: oklch(63.8% 0.140 123.6);
Tailwind
colors: {
  custom: {
    50: '#a4b76b',
    500: '#7b9929',
    950: '#000000',
  },
}
SCSS
$custom: #7b9929;
$custom-light: #a4b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9929",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 76.071,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.13988,
    "h": 123.6
  },
  "luminance": 0.27154
}

Semantic roles & 50–950 ramp

primary
#7B9929
secondary
#7A62BC
accent
#47E170
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9929

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

Preview Lab → · Contrast checker → · Palette generator →

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