#7B9620#7B9620

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

Color values

HEX#7B9620
RGBrgb(123, 150, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 59%)
CMYKcmyk(18%, 0%, 78.7%, 41.2%)
CIE-LABlab(58.16, -25.58, 54.42)
CIE-LCHlch(58.16, 60.13, 115.18°)
OKLaboklab(63.06% -0.0754 0.1197)
OKLCHoklch(63.06% 0.141 122.2)
XYZxyz(19.3357, 26.1279, 5.3908)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9620 #3B2096
analogous
#967620 #7B9620 #409620
triadic
#7B9620 #207B96 #96207B
tetradic
#7B9620 #209676 #3B2096 #962040
square
#7B9620 #209676 #3B2096 #962040
split-complementary
#7B9620 #204096 #762096
monochromatic
#28310A #526415 #7B9620 #A4C82B #BCDB56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B9620#FFFFFF#000000##000000
##7B96201.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)
#9F8C00
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#828E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b9620;
/* rgb */ color: rgb(123, 150, 32);
/* oklch */ color: oklch(63.1% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b566',
    500: '#7b9620',
    950: '#000000',
  },
}
SCSS
$custom: #7b9620;
$custom-light: #a5b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9620",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 73.729,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63059,
    "c": 0.14144,
    "h": 122.2
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#7B9620
secondary
#6C53BE
accent
#40E866
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9620

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

Preview Lab → · Contrast checker → · Palette generator →

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