#7BAF40#7BAF40

#7BAF40 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.152 H 130.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7BAF40
RGBrgb(123, 175, 64)
HSLhsl(88, 46%, 47%)
HSVhsv(88, 63%, 69%)
CMYKcmyk(29.7%, 0%, 63.4%, 31.4%)
CIE-LABlab(65.94, -35.29, 49.95)
CIE-LCHlch(65.94, 61.16, 125.24°)
OKLaboklab(69.43% -0.0992 0.1151)
OKLCHoklch(69.43% 0.152 130.8)
XYZxyz(24.4235, 35.2403, 10.3648)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF40 #7440AF
analogous
#AFAC40 #7BAF40 #44AF40
triadic
#7BAF40 #407BAF #AF407B
tetradic
#7BAF40 #40AFAC #7440AF #AF4044
square
#7BAF40 #40AFAC #7440AF #AF4044
split-complementary
#7BAF40 #4044AF #AC40AF
monochromatic
#3C551F #5C8230 #7BAF40 #99C765 #B7D792

Accessibility & contrast

On white

2.61
#7BAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7BAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF40
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF40#FFFFFF#000000##000000
##7BAF401.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#AF9F49
Tritanopia (blue-blind)
#7DA898
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf40;
/* rgb */ color: rgb(123, 175, 64);
/* oklch */ color: oklch(69.4% 0.152 130.8);
Tailwind
colors: {
  custom: {
    50: '#a5c77a',
    500: '#7baf40',
    950: '#000000',
  },
}
SCSS
$custom: #7baf40;
$custom-light: #a5c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf40",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 88.108,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69434,
    "c": 0.15198,
    "h": 130.8
  },
  "luminance": 0.35241
}

Semantic roles & 50–950 ramp

primary
#7BAF40
secondary
#A488C3
accent
#52D690
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7BAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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