#7B9C22#7B9C22

#7B9C22 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.5% C 0.148 H 124.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7B9C22
RGBrgb(123, 156, 34)
HSLhsl(76, 64%, 37%)
HSVhsv(76, 78%, 61%)
CMYKcmyk(21.2%, 0%, 78.2%, 38.8%)
CIE-LABlab(59.98, -28.41, 55.47)
CIE-LCHlch(59.98, 62.32, 117.12°)
OKLaboklab(64.54% -0.0829 0.1223)
OKLCHoklch(64.54% 0.148 124.2)
XYZxyz(20.3458, 28.1032, 5.8656)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9C22 #43229C
analogous
#9C8022 #7B9C22 #3E9C22
triadic
#7B9C22 #227B9C #9C227B
tetradic
#7B9C22 #229C80 #43229C #9C223E
square
#7B9C22 #229C80 #43229C #9C223E
split-complementary
#7B9C22 #223E9C #80229C
monochromatic
#2C380C #536A17 #7B9C22 #A3CE2D #B9DC5D

Accessibility & contrast

On white

3.17
#7B9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7B9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9C22
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9C22#FFFFFF#000000##000000
##7B9C221.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#819485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9c22;
/* rgb */ color: rgb(123, 156, 34);
/* oklch */ color: oklch(64.5% 0.148 124.2);
Tailwind
colors: {
  custom: {
    50: '#a5b968',
    500: '#7b9c22',
    950: '#000000',
  },
}
SCSS
$custom: #7b9c22;
$custom-light: #a5b968;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9c22",
  "rgb": {
    "r": 123,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 76.23,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64537,
    "c": 0.14772,
    "h": 124.2
  },
  "luminance": 0.28103
}

Semantic roles & 50–950 ramp

primary
#7B9C22
secondary
#755AC0
accent
#41E76E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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