#7B9A22#7B9A22

#7B9A22 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.0% C 0.145 H 123.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7B9A22
RGBrgb(123, 154, 34)
HSLhsl(76, 64%, 37%)
HSVhsv(76, 78%, 60%)
CMYKcmyk(20.1%, 0%, 77.9%, 39.6%)
CIE-LABlab(59.38, -27.44, 54.90)
CIE-LCHlch(59.38, 61.38, 116.56°)
OKLaboklab(64.05% -0.0803 0.1211)
OKLCHoklch(64.05% 0.145 123.6)
XYZxyz(20.0130, 27.4375, 5.7547)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9A22 #41229A
analogous
#9A7D22 #7B9A22 #3F9A22
triadic
#7B9A22 #227B9A #9A227B
tetradic
#7B9A22 #229A7D #41229A #9A223F
square
#7B9A22 #229A7D #41229A #9A223F
split-complementary
#7B9A22 #223F9A #7D229A
monochromatic
#2B360C #536817 #7B9A22 #A3CC2D #BADB5B

Accessibility & contrast

On white

3.24
#7B9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7B9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9A22
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9A22#FFFFFF#000000##000000
##7B9A221.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39002
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#819284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b9a22;
/* rgb */ color: rgb(123, 154, 34);
/* oklch */ color: oklch(64.0% 0.145 123.6);
Tailwind
colors: {
  custom: {
    50: '#a5b767',
    500: '#7b9a22',
    950: '#000000',
  },
}
SCSS
$custom: #7b9a22;
$custom-light: #a5b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9a22",
  "rgb": {
    "r": 123,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 75.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.14527,
    "h": 123.6
  },
  "luminance": 0.27438
}

Semantic roles & 50–950 ramp

primary
#7B9A22
secondary
#7358BF
accent
#41E76C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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