#7B9925#7B9925

#7B9925 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.8% C 0.142 H 123.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7B9925
RGBrgb(123, 153, 37)
HSLhsl(76, 61%, 37%)
HSVhsv(76, 76%, 60%)
CMYKcmyk(19.6%, 0%, 75.8%, 40%)
CIE-LABlab(59.09, -26.80, 53.62)
CIE-LCHlch(59.09, 59.95, 116.56°)
OKLaboklab(63.82% -0.0783 0.1189)
OKLCHoklch(63.82% 0.142 123.4)
XYZxyz(19.8938, 27.1269, 5.9379)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9925 #432599
analogous
#997D25 #7B9925 #419925
triadic
#7B9925 #257B99 #99257B
tetradic
#7B9925 #25997D #432599 #992541
square
#7B9925 #25997D #432599 #992541
split-complementary
#7B9925 #254199 #7D2599
monochromatic
#2C360D #536819 #7B9925 #A3CA31 #B9D960

Accessibility & contrast

On white

3.27
#7B9925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7B9925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9925
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9925#FFFFFF#000000##000000
##7B99251.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0B
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#819183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9925;
/* rgb */ color: rgb(123, 153, 37);
/* oklch */ color: oklch(63.8% 0.142 123.4);
Tailwind
colors: {
  custom: {
    50: '#a5b769',
    500: '#7b9925',
    950: '#000000',
  },
}
SCSS
$custom: #7b9925;
$custom-light: #a5b769;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9925",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 75.517,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.14234,
    "h": 123.4
  },
  "luminance": 0.27127
}

Semantic roles & 50–950 ramp

primary
#7B9925
secondary
#755CBE
accent
#44E46D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9925

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

Preview Lab → · Contrast checker → · Palette generator →

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