#7BAF37#7BAF37

#7BAF37 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.4% C 0.159 H 130.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7BAF37
RGBrgb(123, 175, 55)
HSLhsl(86, 52%, 45%)
HSVhsv(86, 69%, 69%)
CMYKcmyk(29.7%, 0%, 68.6%, 31.4%)
CIE-LABlab(65.86, -36.00, 53.62)
CIE-LCHlch(65.86, 64.59, 123.88°)
OKLaboklab(69.35% -0.102 0.1217)
OKLCHoklch(69.35% 0.159 130)
XYZxyz(24.1878, 35.1460, 9.1232)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF37 #6B37AF
analogous
#AFA737 #7BAF37 #3FAF37
triadic
#7BAF37 #377BAF #AF377B
tetradic
#7BAF37 #37AFA7 #6B37AF #AF373F
square
#7BAF37 #37AFA7 #6B37AF #AF373F
split-complementary
#7BAF37 #373FAF #A737AF
monochromatic
#3A521A #5A8028 #7BAF37 #99CB59 #B6D987

Accessibility & contrast

On white

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

On black

8.03
#7BAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF37
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF37#FFFFFF#000000##000000
##7BAF371.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A225
Deuteranopia (green-blind)
#B09F41
Tritanopia (blue-blind)
#7EA897
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf37;
/* rgb */ color: rgb(123, 175, 55);
/* oklch */ color: oklch(69.4% 0.159 130.0);
Tailwind
colors: {
  custom: {
    50: '#a5c774',
    500: '#7baf37',
    950: '#000000',
  },
}
SCSS
$custom: #7baf37;
$custom-light: #a5c774;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf37",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 86,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69351,
    "c": 0.15874,
    "h": 130
  },
  "luminance": 0.35147
}

Semantic roles & 50–950 ramp

primary
#7BAF37
secondary
#9C7FC3
accent
#4CDC8A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7BAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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