#7B9524#7B9524

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

Color values

HEX#7B9524
RGBrgb(123, 149, 36)
HSLhsl(74, 61%, 36%)
HSVhsv(74, 76%, 58%)
CMYKcmyk(17.4%, 0%, 75.8%, 41.6%)
CIE-LABlab(57.88, -24.89, 52.82)
CIE-LCHlch(57.88, 58.39, 115.23°)
OKLaboklab(62.84% -0.0731 0.117)
OKLCHoklch(62.84% 0.138 122)
XYZxyz(19.2346, 25.8332, 5.6417)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9524 #3E2495
analogous
#957724 #7B9524 #439524
triadic
#7B9524 #247B95 #95247B
tetradic
#7B9524 #249577 #3E2495 #952443
square
#7B9524 #249577 #3E2495 #952443
split-complementary
#7B9524 #244395 #772495
monochromatic
#2A320C #526418 #7B9524 #A4C630 #BBD85C

Accessibility & contrast

On white

3.41
#7B9524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9524#FFFFFF#000000##000000
##7B95241.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9524;
/* rgb */ color: rgb(123, 149, 36);
/* oklch */ color: oklch(62.8% 0.138 122.0);
Tailwind
colors: {
  custom: {
    50: '#a4b468',
    500: '#7b9524',
    950: '#000000',
  },
}
SCSS
$custom: #7b9524;
$custom-light: #a4b468;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9524",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 73.805,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.13798,
    "h": 122
  },
  "luminance": 0.25833
}

Semantic roles & 50–950 ramp

primary
#7B9524
secondary
#6F59BC
accent
#44E469
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9524

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

Preview Lab → · Contrast checker → · Palette generator →

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