#7B9726#7B9726

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

Color values

HEX#7B9726
RGBrgb(123, 151, 38)
HSLhsl(75, 60%, 37%)
HSVhsv(75, 75%, 59%)
CMYKcmyk(18.5%, 0%, 74.8%, 40.8%)
CIE-LABlab(58.49, -25.77, 52.70)
CIE-LCHlch(58.49, 58.66, 116.06°)
OKLaboklab(63.34% -0.0754 0.1171)
OKLCHoklch(63.34% 0.139 122.8)
XYZxyz(19.5851, 26.4840, 5.9135)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9726 #422697
analogous
#977A26 #7B9726 #439726
triadic
#7B9726 #267B97 #97267B
tetradic
#7B9726 #26977A #422697 #972643
square
#7B9726 #26977A #422697 #972643
split-complementary
#7B9726 #264397 #7A2697
monochromatic
#2B350D #53661A #7B9726 #A3C832 #BAD760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9726#FFFFFF#000000##000000
##7B97261.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)
#A08D0F
Deuteranopia (green-blind)
#9C8D30
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9726;
/* rgb */ color: rgb(123, 151, 38);
/* oklch */ color: oklch(63.3% 0.139 122.8);
Tailwind
colors: {
  custom: {
    50: '#a4b569',
    500: '#7b9726',
    950: '#000000',
  },
}
SCSS
$custom: #7b9726;
$custom-light: #a4b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9726",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 74.867,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.13926,
    "h": 122.8
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#7B9726
secondary
#745CBC
accent
#45E36C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9726

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

Preview Lab → · Contrast checker → · Palette generator →

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