#7B9322#7B9322

#7B9322 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.137 H 121.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7B9322
RGBrgb(123, 147, 34)
HSLhsl(73, 62%, 35%)
HSVhsv(73, 77%, 58%)
CMYKcmyk(16.3%, 0%, 76.9%, 42.4%)
CIE-LABlab(57.26, -24.00, 52.92)
CIE-LCHlch(57.26, 58.11, 114.39°)
OKLaboklab(62.34% -0.0709 0.1169)
OKLCHoklch(62.34% 0.137 121.2)
XYZxyz(18.8912, 25.1939, 5.3808)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9322 #3A2293
analogous
#937222 #7B9322 #439322
triadic
#7B9322 #227B93 #93227B
tetradic
#7B9322 #229372 #3A2293 #932243
square
#7B9322 #229372 #3A2293 #932243
split-complementary
#7B9322 #224393 #722293
monochromatic
#28300B #516117 #7B9322 #A5C52D #BDD857

Accessibility & contrast

On white

3.48
#7B9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#7B9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9322
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9322#FFFFFF#000000##000000
##7B93221.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A07
Deuteranopia (green-blind)
#998A2C
Tritanopia (blue-blind)
#828B7E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b9322;
/* rgb */ color: rgb(123, 147, 34);
/* oklch */ color: oklch(62.3% 0.137 121.2);
Tailwind
colors: {
  custom: {
    50: '#a4b266',
    500: '#7b9322',
    950: '#000000',
  },
}
SCSS
$custom: #7b9322;
$custom-light: #a4b266;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9322",
  "rgb": {
    "r": 123,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 72.743,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62341,
    "c": 0.13668,
    "h": 121.2
  },
  "luminance": 0.25194
}

Semantic roles & 50–950 ramp

primary
#7B9322
secondary
#6B55BC
accent
#42E565
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9322

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

Preview Lab → · Contrast checker → · Palette generator →

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