#7B9729#7B9729

#7B9729 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.4% C 0.137 H 122.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7B9729
RGBrgb(123, 151, 41)
HSLhsl(75, 57%, 38%)
HSVhsv(75, 73%, 59%)
CMYKcmyk(18.5%, 0%, 72.8%, 40.8%)
CIE-LABlab(58.51, -25.60, 51.61)
CIE-LCHlch(58.51, 57.61, 116.38°)
OKLaboklab(63.36% -0.0746 0.1153)
OKLCHoklch(63.36% 0.137 122.9)
XYZxyz(19.6355, 26.5042, 6.1788)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9729 #452997
analogous
#977C29 #7B9729 #449729
triadic
#7B9729 #297B97 #97297B
tetradic
#7B9729 #29977C #452997 #972944
square
#7B9729 #29977C #452997 #972944
split-complementary
#7B9729 #294497 #7C2997
monochromatic
#2D370F #54671C #7B9729 #A2C736 #B9D565

Accessibility & contrast

On white

3.33
#7B9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7B9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9729
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9729#FFFFFF#000000##000000
##7B97291.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D15
Deuteranopia (green-blind)
#9C8D32
Tritanopia (blue-blind)
#818F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9729;
/* rgb */ color: rgb(123, 151, 41);
/* oklch */ color: oklch(63.4% 0.137 122.9);
Tailwind
colors: {
  custom: {
    50: '#a4b56a',
    500: '#7b9729',
    950: '#000000',
  },
}
SCSS
$custom: #7b9729;
$custom-light: #a4b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9729",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 75.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63362,
    "c": 0.13736,
    "h": 122.9
  },
  "luminance": 0.26504
}

Semantic roles & 50–950 ramp

primary
#7B9729
secondary
#7861BB
accent
#47E16E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9729

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

Preview Lab → · Contrast checker → · Palette generator →

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