#7B9D22#7B9D22

#7B9D22 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.149 H 124.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7B9D22
RGBrgb(123, 157, 34)
HSLhsl(77, 64%, 37%)
HSVhsv(77, 78%, 62%)
CMYKcmyk(21.7%, 0%, 78.3%, 38.4%)
CIE-LABlab(60.28, -28.89, 55.75)
CIE-LCHlch(60.28, 62.79, 117.39°)
OKLaboklab(64.78% -0.0842 0.1228)
OKLCHoklch(64.78% 0.149 124.4)
XYZxyz(20.5143, 28.4402, 5.9218)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9D22 #44229D
analogous
#9D8122 #7B9D22 #3E9D22
triadic
#7B9D22 #227B9D #9D227B
tetradic
#7B9D22 #229D81 #44229D #9D223E
square
#7B9D22 #229D81 #44229D #9D223E
split-complementary
#7B9D22 #223E9D #81229D
monochromatic
#2C380C #546B17 #7B9D22 #A2CF2D #B9DC5D

Accessibility & contrast

On white

3.14
#7B9D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7B9D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9D22
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9D22#FFFFFF#000000##000000
##7B9D221.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#819586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b9d22;
/* rgb */ color: rgb(123, 157, 34);
/* oklch */ color: oklch(64.8% 0.149 124.4);
Tailwind
colors: {
  custom: {
    50: '#a5ba68',
    500: '#7b9d22',
    950: '#000000',
  },
}
SCSS
$custom: #7b9d22;
$custom-light: #a5ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9d22",
  "rgb": {
    "r": 123,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 76.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.14895,
    "h": 124.4
  },
  "luminance": 0.2844
}

Semantic roles & 50–950 ramp

primary
#7B9D22
secondary
#775AC1
accent
#40E76F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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