#7BAF22#7BAF22

#7BAF22 is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.2% C 0.171 H 128.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7BAF22
RGBrgb(123, 175, 34)
HSLhsl(82, 67%, 41%)
HSVhsv(82, 81%, 69%)
CMYKcmyk(29.7%, 0%, 80.6%, 31.4%)
CIE-LABlab(65.74, -37.22, 60.76)
CIE-LCHlch(65.74, 71.25, 121.49°)
OKLaboklab(69.21% -0.1069 0.1334)
OKLCHoklch(69.21% 0.171 128.7)
XYZxyz(23.7871, 34.9857, 7.0127)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF22 #5622AF
analogous
#AF9C22 #7BAF22 #34AF22
triadic
#7BAF22 #227BAF #AF227B
tetradic
#7BAF22 #22AF9C #5622AF #AF2234
square
#7BAF22 #22AF9C #5622AF #AF2234
split-complementary
#7BAF22 #2234AF #9C22AF
monochromatic
#33490E #577C18 #7BAF22 #9CD836 #B6E269

Accessibility & contrast

On white

2.63
#7BAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#7BAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF22
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF22#FFFFFF#000000##000000
##7BAF221.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#7FA795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf22;
/* rgb */ color: rgb(123, 175, 34);
/* oklch */ color: oklch(69.2% 0.171 128.7);
Tailwind
colors: {
  custom: {
    50: '#a6c76a',
    500: '#7baf22',
    950: '#000000',
  },
}
SCSS
$custom: #7baf22;
$custom-light: #a6c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf22",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 82.128,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6921,
    "c": 0.17094,
    "h": 128.7
  },
  "luminance": 0.34986
}

Semantic roles & 50–950 ramp

primary
#7BAF22
secondary
#8965C8
accent
#3DEA7D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7BAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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