#7BAF32#7BAF32

#7BAF32 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.162 H 129.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7BAF32
RGBrgb(123, 175, 50)
HSLhsl(85, 56%, 44%)
HSVhsv(85, 71%, 69%)
CMYKcmyk(29.7%, 0%, 71.4%, 31.4%)
CIE-LABlab(65.83, -36.35, 55.52)
CIE-LCHlch(65.83, 66.36, 123.21°)
OKLaboklab(69.31% -0.1033 0.1249)
OKLCHoklch(69.31% 0.162 129.6)
XYZxyz(24.0740, 35.1005, 8.5237)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF32 #6632AF
analogous
#AFA532 #7BAF32 #3DAF32
triadic
#7BAF32 #327BAF #AF327B
tetradic
#7BAF32 #32AFA5 #6632AF #AF323D
square
#7BAF32 #32AFA5 #6632AF #AF323D
split-complementary
#7BAF32 #323DAF #A532AF
monochromatic
#385017 #5A7F24 #7BAF32 #9ACD51 #B5DB81

Accessibility & contrast

On white

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

On black

8.02
#7BAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAF32
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAF32#FFFFFF#000000##000000
##7BAF321.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21D
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#7EA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf32;
/* rgb */ color: rgb(123, 175, 50);
/* oklch */ color: oklch(69.3% 0.162 129.6);
Tailwind
colors: {
  custom: {
    50: '#a5c772',
    500: '#7baf32',
    950: '#000000',
  },
}
SCSS
$custom: #7baf32;
$custom-light: #a5c772;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf32",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 84.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69311,
    "c": 0.16211,
    "h": 129.6
  },
  "luminance": 0.35101
}

Semantic roles & 50–950 ramp

primary
#7BAF32
secondary
#9879C4
accent
#49DF87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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