#7B9529#7B9529

#7B9529 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.135 H 122.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7B9529
RGBrgb(123, 149, 41)
HSLhsl(74, 57%, 37%)
HSVhsv(74, 72%, 58%)
CMYKcmyk(17.4%, 0%, 72.5%, 41.6%)
CIE-LABlab(57.91, -24.61, 51.02)
CIE-LCHlch(57.91, 56.64, 115.75°)
OKLaboklab(62.88% -0.0719 0.1141)
OKLCHoklch(62.88% 0.135 122.2)
XYZxyz(19.3163, 25.8659, 6.0724)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9529 #432995
analogous
#957929 #7B9529 #459529
triadic
#7B9529 #297B95 #95297B
tetradic
#7B9529 #299579 #432995 #952945
square
#7B9529 #299579 #432995 #952945
split-complementary
#7B9529 #294595 #792995
monochromatic
#2C350F #53651C #7B9529 #A3C536 #B9D464

Accessibility & contrast

On white

3.40
#7B9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7B9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9529
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9529#FFFFFF#000000##000000
##7B95291.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C16
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#828D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9529;
/* rgb */ color: rgb(123, 149, 41);
/* oklch */ color: oklch(62.9% 0.135 122.2);
Tailwind
colors: {
  custom: {
    50: '#a4b46a',
    500: '#7b9529',
    950: '#000000',
  },
}
SCSS
$custom: #7b9529;
$custom-light: #a4b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9529",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 74.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.13484,
    "h": 122.2
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#7B9529
secondary
#7560BA
accent
#48E06C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9529

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

Preview Lab → · Contrast checker → · Palette generator →

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