#7B9920#7B9920

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

Color values

HEX#7B9920
RGBrgb(123, 153, 32)
HSLhsl(75, 65%, 36%)
HSVhsv(75, 79%, 60%)
CMYKcmyk(19.6%, 0%, 79.1%, 40%)
CIE-LABlab(59.06, -27.05, 55.26)
CIE-LCHlch(59.06, 61.52, 116.08°)
OKLaboklab(63.79% -0.0794 0.1215)
OKLCHoklch(63.79% 0.145 123.2)
XYZxyz(19.8206, 27.0976, 5.5524)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9920 #3E2099
analogous
#997B20 #7B9920 #3F9920
triadic
#7B9920 #207B99 #99207B
tetradic
#7B9920 #20997B #3E2099 #99203F
square
#7B9920 #20997B #3E2099 #99203F
split-complementary
#7B9920 #203F99 #7B2099
monochromatic
#2A340B #526615 #7B9920 #A4CC2B #BBDC57

Accessibility & contrast

On white

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

On black

6.42
#7B9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9920
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9920#FFFFFF#000000##000000
##7B99201.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#829183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9920;
/* rgb */ color: rgb(123, 153, 32);
/* oklch */ color: oklch(63.8% 0.145 123.2);
Tailwind
colors: {
  custom: {
    50: '#a5b766',
    500: '#7b9920',
    950: '#000000',
  },
}
SCSS
$custom: #7b9920;
$custom-light: #a5b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9920",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 74.876,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63792,
    "c": 0.1451,
    "h": 123.2
  },
  "luminance": 0.27098
}

Semantic roles & 50–950 ramp

primary
#7B9920
secondary
#6F55C0
accent
#3FE869
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9920

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

Preview Lab → · Contrast checker → · Palette generator →

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