#7B9525#7B9525

#7B9525 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.137 H 122.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7B9525
RGBrgb(123, 149, 37)
HSLhsl(74, 60%, 36%)
HSVhsv(74, 75%, 58%)
CMYKcmyk(17.4%, 0%, 75.2%, 41.6%)
CIE-LABlab(57.88, -24.84, 52.47)
CIE-LCHlch(57.88, 58.05, 115.33°)
OKLaboklab(62.85% -0.0729 0.1164)
OKLCHoklch(62.85% 0.137 122.1)
XYZxyz(19.2500, 25.8394, 5.7233)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9525 #3F2595
analogous
#957725 #7B9525 #439525
triadic
#7B9525 #257B95 #95257B
tetradic
#7B9525 #259577 #3F2595 #952543
square
#7B9525 #259577 #3F2595 #952543
split-complementary
#7B9525 #254395 #772595
monochromatic
#2A330D #536419 #7B9525 #A3C631 #BBD75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9525#FFFFFF#000000##000000
##7B95251.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)
#9E8C0E
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#828D80
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9525;
/* rgb */ color: rgb(123, 149, 37);
/* oklch */ color: oklch(62.8% 0.137 122.1);
Tailwind
colors: {
  custom: {
    50: '#a4b468',
    500: '#7b9525',
    950: '#000000',
  },
}
SCSS
$custom: #7b9525;
$custom-light: #a4b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9525",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 73.929,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.13738,
    "h": 122.1
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#7B9525
secondary
#715ABC
accent
#44E369
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9525

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

Preview Lab → · Contrast checker → · Palette generator →

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