#7B9422#7B9422

#7B9422 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.6% C 0.138 H 121.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7B9422
RGBrgb(123, 148, 34)
HSLhsl(73, 63%, 36%)
HSVhsv(73, 77%, 58%)
CMYKcmyk(16.9%, 0%, 77%, 42%)
CIE-LABlab(57.57, -24.50, 53.21)
CIE-LCHlch(57.57, 58.58, 114.72°)
OKLaboklab(62.58% -0.0722 0.1175)
OKLCHoklch(62.58% 0.138 121.6)
XYZxyz(19.0473, 25.5062, 5.4328)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9422 #3B2294
analogous
#947422 #7B9422 #429422
triadic
#7B9422 #227B94 #94227B
tetradic
#7B9422 #229474 #3B2294 #942242
square
#7B9422 #229474 #3B2294 #942242
split-complementary
#7B9422 #224294 #742294
monochromatic
#28300B #526217 #7B9422 #A4C62D #BCD958

Accessibility & contrast

On white

3.44
#7B9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7B9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9422
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9422#FFFFFF#000000##000000
##7B94221.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B06
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#828C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b9422;
/* rgb */ color: rgb(123, 148, 34);
/* oklch */ color: oklch(62.6% 0.138 121.6);
Tailwind
colors: {
  custom: {
    50: '#a4b367',
    500: '#7b9422',
    950: '#000000',
  },
}
SCSS
$custom: #7b9422;
$custom-light: #a4b367;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9422",
  "rgb": {
    "r": 123,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 73.158,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62584,
    "c": 0.13791,
    "h": 121.6
  },
  "luminance": 0.25506
}

Semantic roles & 50–950 ramp

primary
#7B9422
secondary
#6C55BD
accent
#42E666
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9422

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

Preview Lab → · Contrast checker → · Palette generator →

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