#7B9721#7B9721

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

Color values

HEX#7B9721
RGBrgb(123, 151, 33)
HSLhsl(74, 64%, 36%)
HSVhsv(74, 78%, 59%)
CMYKcmyk(18.5%, 0%, 78.1%, 40.8%)
CIE-LABlab(58.47, -26.03, 54.38)
CIE-LCHlch(58.47, 60.29, 115.58°)
OKLaboklab(63.31% -0.0765 0.1198)
OKLCHoklch(63.31% 0.142 122.6)
XYZxyz(19.5098, 26.4539, 5.5168)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9721 #3D2197
analogous
#977821 #7B9721 #409721
triadic
#7B9721 #217B97 #97217B
tetradic
#7B9721 #219778 #3D2197 #972140
square
#7B9721 #219778 #3D2197 #972140
split-complementary
#7B9721 #214097 #782197
monochromatic
#29330B #526516 #7B9721 #A4C92C #BCDA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9721#FFFFFF#000000##000000
##7B97211.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)
#A08D01
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9721;
/* rgb */ color: rgb(123, 151, 33);
/* oklch */ color: oklch(63.3% 0.142 122.6);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7b9721',
    950: '#000000',
  },
}
SCSS
$custom: #7b9721;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9721",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 74.237,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63309,
    "c": 0.14212,
    "h": 122.6
  },
  "luminance": 0.26454
}

Semantic roles & 50–950 ramp

primary
#7B9721
secondary
#6E55BE
accent
#41E768
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9721

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

Preview Lab → · Contrast checker → · Palette generator →

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