#7B9522#7B9522

#7B9522 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.8% C 0.139 H 121.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7B9522
RGBrgb(123, 149, 34)
HSLhsl(74, 63%, 36%)
HSVhsv(74, 77%, 58%)
CMYKcmyk(17.4%, 0%, 77.2%, 41.6%)
CIE-LABlab(57.87, -24.99, 53.49)
CIE-LCHlch(57.87, 59.04, 115.04°)
OKLaboklab(62.83% -0.0736 0.1181)
OKLCHoklch(62.83% 0.139 121.9)
XYZxyz(19.2049, 25.8213, 5.4853)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9522 #3C2295
analogous
#957522 #7B9522 #419522
triadic
#7B9522 #227B95 #95227B
tetradic
#7B9522 #229575 #3C2295 #952241
square
#7B9522 #229575 #3C2295 #952241
split-complementary
#7B9522 #224195 #752295
monochromatic
#29310B #526317 #7B9522 #A4C72D #BCD958

Accessibility & contrast

On white

3.41
#7B9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7B9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9522
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9522#FFFFFF#000000##000000
##7B95221.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C05
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#828D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b9522;
/* rgb */ color: rgb(123, 149, 34);
/* oklch */ color: oklch(62.8% 0.139 121.9);
Tailwind
colors: {
  custom: {
    50: '#a5b467',
    500: '#7b9522',
    950: '#000000',
  },
}
SCSS
$custom: #7b9522;
$custom-light: #a5b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9522",
  "rgb": {
    "r": 123,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 73.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62828,
    "c": 0.13913,
    "h": 121.9
  },
  "luminance": 0.25821
}

Semantic roles & 50–950 ramp

primary
#7B9522
secondary
#6D56BD
accent
#42E667
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9522

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

Preview Lab → · Contrast checker → · Palette generator →

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