#7B9621#7B9621

#7B9621 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#7B9621
RGBrgb(123, 150, 33)
HSLhsl(74, 64%, 36%)
HSVhsv(74, 78%, 59%)
CMYKcmyk(18%, 0%, 78%, 41.2%)
CIE-LABlab(58.16, -25.53, 54.10)
CIE-LCHlch(58.16, 59.82, 115.27°)
OKLaboklab(63.07% -0.0751 0.1192)
OKLCHoklch(63.07% 0.141 122.2)
XYZxyz(19.3495, 26.1334, 5.4634)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9621 #3C2196
analogous
#967621 #7B9621 #409621
triadic
#7B9621 #217B96 #96217B
tetradic
#7B9621 #219676 #3C2196 #962140
square
#7B9621 #219676 #3C2196 #962140
split-complementary
#7B9621 #214096 #762196
monochromatic
#29320B #526416 #7B9621 #A4C82C #BCDA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b9621;
/* rgb */ color: rgb(123, 150, 33);
/* oklch */ color: oklch(63.1% 0.141 122.2);
Tailwind
colors: {
  custom: {
    50: '#a5b566',
    500: '#7b9621',
    950: '#000000',
  },
}
SCSS
$custom: #7b9621;
$custom-light: #a5b566;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9621",
  "rgb": {
    "r": 123,
    "g": 150,
    "b": 33
  },
  "hsl": {
    "h": 73.846,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63065,
    "c": 0.1409,
    "h": 122.2
  },
  "luminance": 0.26133
}

Semantic roles & 50–950 ramp

primary
#7B9621
secondary
#6D55BE
accent
#41E767
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7B9621

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

Preview Lab → · Contrast checker → · Palette generator →

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