#7B9528#7B9528

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

Color values

HEX#7B9528
RGBrgb(123, 149, 40)
HSLhsl(74, 58%, 37%)
HSVhsv(74, 73%, 58%)
CMYKcmyk(17.4%, 0%, 73.2%, 41.6%)
CIE-LABlab(57.90, -24.67, 51.39)
CIE-LCHlch(57.90, 57.00, 115.64°)
OKLaboklab(62.87% -0.0722 0.1147)
OKLCHoklch(62.87% 0.136 122.2)
XYZxyz(19.2991, 25.8590, 5.9816)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9528 #422895
analogous
#957928 #7B9528 #459528
triadic
#7B9528 #287B95 #95287B
tetradic
#7B9528 #289579 #422895 #952845
square
#7B9528 #289579 #422895 #952845
split-complementary
#7B9528 #284595 #792895
monochromatic
#2B350E #53651B #7B9528 #A3C535 #BAD562

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9528#FFFFFF#000000##000000
##7B95281.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)
#9E8C14
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#828D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9528;
/* rgb */ color: rgb(123, 149, 40);
/* oklch */ color: oklch(62.9% 0.136 122.2);
Tailwind
colors: {
  custom: {
    50: '#a4b46a',
    500: '#7b9528',
    950: '#000000',
  },
}
SCSS
$custom: #7b9528;
$custom-light: #a4b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9528",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 74.312,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.1355,
    "h": 122.2
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#7B9528
secondary
#745EBB
accent
#47E16C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9528

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

Preview Lab → · Contrast checker → · Palette generator →

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