#7B9722#7B9722

#7B9722 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#7B9722
RGBrgb(123, 151, 34)
HSLhsl(74, 63%, 36%)
HSVhsv(74, 77%, 59%)
CMYKcmyk(18.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(58.47, -25.98, 54.06)
CIE-LCHlch(58.47, 59.98, 115.67°)
OKLaboklab(63.32% -0.0763 0.1193)
OKLCHoklch(63.32% 0.142 122.6)
XYZxyz(19.5240, 26.4596, 5.5917)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9722 #3E2297
analogous
#977922 #7B9722 #419722
triadic
#7B9722 #227B97 #97227B
tetradic
#7B9722 #229779 #3E2297 #972241
square
#7B9722 #229779 #3E2297 #972241
split-complementary
#7B9722 #224197 #792297
monochromatic
#2A330C #526517 #7B9722 #A4C92D #BBDA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9722#FFFFFF#000000##000000
##7B97221.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)
#A08D04
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#828F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b9722;
/* rgb */ color: rgb(123, 151, 34);
/* oklch */ color: oklch(63.3% 0.142 122.6);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7b9722',
    950: '#000000',
  },
}
SCSS
$custom: #7b9722;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9722",
  "rgb": {
    "r": 123,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 74.359,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.14158,
    "h": 122.6
  },
  "luminance": 0.2646
}

Semantic roles & 50–950 ramp

primary
#7B9722
secondary
#6F57BE
accent
#42E669
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9722

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

Preview Lab → · Contrast checker → · Palette generator →

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