#7B9724#7B9724

#7B9724 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 63.3% C 0.140 H 122.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7B9724
RGBrgb(123, 151, 36)
HSLhsl(75, 61%, 37%)
HSVhsv(75, 76%, 59%)
CMYKcmyk(18.5%, 0%, 76.2%, 40.8%)
CIE-LABlab(58.48, -25.88, 53.39)
CIE-LCHlch(58.48, 59.33, 115.86°)
OKLaboklab(63.33% -0.0758 0.1182)
OKLCHoklch(63.33% 0.14 122.7)
XYZxyz(19.5537, 26.4715, 5.7481)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9724 #402497
analogous
#977A24 #7B9724 #429724
triadic
#7B9724 #247B97 #97247B
tetradic
#7B9724 #24977A #402497 #972442
square
#7B9724 #24977A #402497 #972442
split-complementary
#7B9724 #244297 #7A2497
monochromatic
#2A340C #536618 #7B9724 #A3C830 #BAD85D

Accessibility & contrast

On white

3.34
#7B9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7B9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9724
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9724#FFFFFF#000000##000000
##7B97241.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D0A
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9724;
/* rgb */ color: rgb(123, 151, 36);
/* oklch */ color: oklch(63.3% 0.140 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4b568',
    500: '#7b9724',
    950: '#000000',
  },
}
SCSS
$custom: #7b9724;
$custom-light: #a4b568;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9724",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 74.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.14045,
    "h": 122.7
  },
  "luminance": 0.26472
}

Semantic roles & 50–950 ramp

primary
#7B9724
secondary
#725ABD
accent
#43E56A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9724

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

Preview Lab → · Contrast checker → · Palette generator →

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