#7B9922#7B9922

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

Color values

HEX#7B9922
RGBrgb(123, 153, 34)
HSLhsl(75, 64%, 37%)
HSVhsv(75, 78%, 60%)
CMYKcmyk(19.6%, 0%, 77.8%, 40%)
CIE-LABlab(59.07, -26.96, 54.62)
CIE-LCHlch(59.07, 60.91, 116.27°)
OKLaboklab(63.8% -0.079 0.1205)
OKLCHoklch(63.8% 0.144 123.2)
XYZxyz(19.8486, 27.1088, 5.6999)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9922 #402299
analogous
#997C22 #7B9922 #409922
triadic
#7B9922 #227B99 #99227B
tetradic
#7B9922 #22997C #402299 #992240
square
#7B9922 #22997C #402299 #992240
split-complementary
#7B9922 #224099 #7C2299
monochromatic
#2A350C #536717 #7B9922 #A3CB2D #BADB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9922#FFFFFF#000000##000000
##7B99221.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)
#A28F02
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#829183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b9922;
/* rgb */ color: rgb(123, 153, 34);
/* oklch */ color: oklch(63.8% 0.144 123.2);
Tailwind
colors: {
  custom: {
    50: '#a5b767',
    500: '#7b9922',
    950: '#000000',
  },
}
SCSS
$custom: #7b9922;
$custom-light: #a5b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9922",
  "rgb": {
    "r": 123,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 75.126,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63804,
    "c": 0.14403,
    "h": 123.2
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#7B9922
secondary
#7258BF
accent
#41E76B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9922

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

Preview Lab → · Contrast checker → · Palette generator →

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