#7BAF28#7BAF28

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

Color values

HEX#7BAF28
RGBrgb(123, 175, 40)
HSLhsl(83, 63%, 42%)
HSVhsv(83, 77%, 69%)
CMYKcmyk(29.7%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.77, -36.94, 58.96)
CIE-LCHlch(65.77, 69.57, 122.07°)
OKLaboklab(69.24% -0.1057 0.1306)
OKLCHoklch(69.24% 0.168 129)
XYZxyz(23.8813, 35.0234, 7.5090)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF28 #5C28AF
analogous
#AFA028 #7BAF28 #38AF28
triadic
#7BAF28 #287BAF #AF287B
tetradic
#7BAF28 #28AFA0 #5C28AF #AF2838
square
#7BAF28 #28AFA0 #5C28AF #AF2838
split-complementary
#7BAF28 #2838AF #A028AF
monochromatic
#354B11 #587D1D #7BAF28 #9BD441 #B5DF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAF28#FFFFFF#000000##000000
##7BAF281.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)
#B8A203
Deuteranopia (green-blind)
#B09F36
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf28;
/* rgb */ color: rgb(123, 175, 40);
/* oklch */ color: oklch(69.2% 0.168 129.0);
Tailwind
colors: {
  custom: {
    50: '#a6c76d',
    500: '#7baf28',
    950: '#000000',
  },
}
SCSS
$custom: #7baf28;
$custom-light: #a6c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf28",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 83.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69243,
    "c": 0.16799,
    "h": 129
  },
  "luminance": 0.35024
}

Semantic roles & 50–950 ramp

primary
#7BAF28
secondary
#8F6DC6
accent
#42E681
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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