#7BAF26#7BAF26

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

Color values

HEX#7BAF26
RGBrgb(123, 175, 38)
HSLhsl(83, 64%, 42%)
HSVhsv(83, 78%, 69%)
CMYKcmyk(29.7%, 0%, 78.3%, 31.4%)
CIE-LABlab(65.76, -37.04, 59.58)
CIE-LCHlch(65.76, 70.16, 121.87°)
OKLaboklab(69.23% -0.1061 0.1316)
OKLCHoklch(69.23% 0.169 128.9)
XYZxyz(23.8482, 35.0102, 7.3345)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF26 #5A26AF
analogous
#AF9F26 #7BAF26 #36AF26
triadic
#7BAF26 #267BAF #AF267B
tetradic
#7BAF26 #26AF9F #5A26AF #AF2636
square
#7BAF26 #26AF9F #5A26AF #AF2636
split-complementary
#7BAF26 #2636AF #9F26AF
monochromatic
#344A10 #587D1B #7BAF26 #9BD53D #B5E070

Accessibility & contrast

On white

2.62
#7BAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAF26#FFFFFF#000000##000000
##7BAF261.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7baf26;
/* rgb */ color: rgb(123, 175, 38);
/* oklch */ color: oklch(69.2% 0.169 128.9);
Tailwind
colors: {
  custom: {
    50: '#a6c76c',
    500: '#7baf26',
    950: '#000000',
  },
}
SCSS
$custom: #7baf26;
$custom-light: #a6c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf26",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 82.774,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69231,
    "c": 0.16902,
    "h": 128.9
  },
  "luminance": 0.35011
}

Semantic roles & 50–950 ramp

primary
#7BAF26
secondary
#8D6AC7
accent
#40E780
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7BAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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