#7B9725#7B9725

#7B9725 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.30:1 contrast (WCAG AA passes).

Color values

HEX#7B9725
RGBrgb(123, 151, 37)
HSLhsl(75, 61%, 37%)
HSVhsv(75, 75%, 59%)
CMYKcmyk(18.5%, 0%, 75.5%, 40.8%)
CIE-LABlab(58.49, -25.82, 53.05)
CIE-LCHlch(58.49, 59.00, 115.96°)
OKLaboklab(63.33% -0.0756 0.1177)
OKLCHoklch(63.33% 0.14 122.7)
XYZxyz(19.5692, 26.4777, 5.8297)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9725 #412597
analogous
#977A25 #7B9725 #429725
triadic
#7B9725 #257B97 #97257B
tetradic
#7B9725 #25977A #412597 #972542
square
#7B9725 #25977A #412597 #972542
split-complementary
#7B9725 #254297 #7A2597
monochromatic
#2B350D #536619 #7B9725 #A3C831 #BAD85F

Accessibility & contrast

On white

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

On black

6.30
#7B9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9725
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9725#FFFFFF#000000##000000
##7B97251.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b9725;
/* rgb */ color: rgb(123, 151, 37);
/* oklch */ color: oklch(63.3% 0.140 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4b568',
    500: '#7b9725',
    950: '#000000',
  },
}
SCSS
$custom: #7b9725;
$custom-light: #a4b568;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9725",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 74.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63334,
    "c": 0.13987,
    "h": 122.7
  },
  "luminance": 0.26478
}

Semantic roles & 50–950 ramp

primary
#7B9725
secondary
#735BBD
accent
#44E46B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9725

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

Preview Lab → · Contrast checker → · Palette generator →

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