#7BAF27#7BAF27

#7BAF27 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#7BAF27
RGBrgb(123, 175, 39)
HSLhsl(83, 64%, 42%)
HSVhsv(83, 78%, 69%)
CMYKcmyk(29.7%, 0%, 77.7%, 31.4%)
CIE-LABlab(65.76, -36.99, 59.27)
CIE-LCHlch(65.76, 69.87, 121.96°)
OKLaboklab(69.24% -0.1059 0.1311)
OKLCHoklch(69.24% 0.169 128.9)
XYZxyz(23.8645, 35.0167, 7.4206)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAF27 #5B27AF
analogous
#AF9F27 #7BAF27 #37AF27
triadic
#7BAF27 #277BAF #AF277B
tetradic
#7BAF27 #27AF9F #5B27AF #AF2737
square
#7BAF27 #27AF9F #5B27AF #AF2737
split-complementary
#7BAF27 #2737AF #9F27AF
monochromatic
#354B11 #587D1C #7BAF27 #9BD43F #B5DF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7BAF27#FFFFFF#000000##000000
##7BAF271.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)
#B19F35
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7baf27;
/* rgb */ color: rgb(123, 175, 39);
/* oklch */ color: oklch(69.2% 0.169 128.9);
Tailwind
colors: {
  custom: {
    50: '#a6c76c',
    500: '#7baf27',
    950: '#000000',
  },
}
SCSS
$custom: #7baf27;
$custom-light: #a6c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7baf27",
  "rgb": {
    "r": 123,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 82.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69237,
    "c": 0.16851,
    "h": 128.9
  },
  "luminance": 0.35017
}

Semantic roles & 50–950 ramp

primary
#7BAF27
secondary
#8E6BC6
accent
#41E780
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7BAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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