#7B9622#7B9622

#7B9622 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.1% C 0.140 H 122.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7B9622
RGBrgb(123, 150, 34)
HSLhsl(74, 63%, 36%)
HSVhsv(74, 77%, 59%)
CMYKcmyk(18%, 0%, 77.3%, 41.2%)
CIE-LABlab(58.17, -25.49, 53.77)
CIE-LCHlch(58.17, 59.51, 115.36°)
OKLaboklab(63.07% -0.0749 0.1187)
OKLCHoklch(63.07% 0.14 122.3)
XYZxyz(19.3637, 26.1391, 5.5383)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9622 #3D2296
analogous
#967722 #7B9622 #419622
triadic
#7B9622 #227B96 #96227B
tetradic
#7B9622 #229677 #3D2296 #962241
square
#7B9622 #229677 #3D2296 #962241
split-complementary
#7B9622 #224196 #772296
monochromatic
#29320B #526417 #7B9622 #A4C82D #BCD959

Accessibility & contrast

On white

3.37
#7B9622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7B9622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9622
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9622#FFFFFF#000000##000000
##7B96221.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C05
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#828E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b9622;
/* rgb */ color: rgb(123, 150, 34);
/* oklch */ color: oklch(63.1% 0.140 122.3);
Tailwind
colors: {
  custom: {
    50: '#a5b567',
    500: '#7b9622',
    950: '#000000',
  },
}
SCSS
$custom: #7b9622;
$custom-light: #a5b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9622",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 73.966,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63071,
    "c": 0.14035,
    "h": 122.3
  },
  "luminance": 0.26139
}

Semantic roles & 50–950 ramp

primary
#7B9622
secondary
#6E56BE
accent
#42E668
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9622

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

Preview Lab → · Contrast checker → · Palette generator →

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