#7B9720#7B9720

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

Color values

HEX#7B9720
RGBrgb(123, 151, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 59%)
CMYKcmyk(18.5%, 0%, 78.8%, 40.8%)
CIE-LABlab(58.46, -26.07, 54.70)
CIE-LCHlch(58.46, 60.60, 115.49°)
OKLaboklab(63.3% -0.0767 0.1203)
OKLCHoklch(63.3% 0.143 122.5)
XYZxyz(19.4960, 26.4484, 5.4442)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9720 #3C2097
analogous
#977720 #7B9720 #3F9720
triadic
#7B9720 #207B97 #97207B
tetradic
#7B9720 #209777 #3C2097 #97203F
square
#7B9720 #209777 #3C2097 #97203F
split-complementary
#7B9720 #203F97 #772097
monochromatic
#29320B #526415 #7B9720 #A4C92B #BCDB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9720#FFFFFF#000000##000000
##7B97201.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)
#A08D00
Deuteranopia (green-blind)
#9D8C2C
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9720;
/* rgb */ color: rgb(123, 151, 32);
/* oklch */ color: oklch(63.3% 0.143 122.5);
Tailwind
colors: {
  custom: {
    50: '#a5b566',
    500: '#7b9720',
    950: '#000000',
  },
}
SCSS
$custom: #7b9720;
$custom-light: #a5b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9720",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 74.118,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63303,
    "c": 0.14266,
    "h": 122.5
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#7B9720
secondary
#6D54BF
accent
#40E867
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9720

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

Preview Lab → · Contrast checker → · Palette generator →

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