#7BAA27#7BAA27

#7BAA27 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.162 H 127.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7BAA27
RGBrgb(123, 170, 39)
HSLhsl(82, 63%, 41%)
HSVhsv(82, 77%, 67%)
CMYKcmyk(27.6%, 0%, 77.1%, 33.3%)
CIE-LABlab(64.25, -34.72, 57.85)
CIE-LCHlch(64.25, 67.47, 120.97°)
OKLaboklab(68.01% -0.0997 0.1281)
OKLCHoklch(68.01% 0.162 127.9)
XYZxyz(22.9093, 33.1064, 7.1022)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BAA27 #5627AA
analogous
#AA9727 #7BAA27 #39AA27
triadic
#7BAA27 #277BAA #AA277B
tetradic
#7BAA27 #27AA97 #5627AA #AA2739
square
#7BAA27 #27AA97 #5627AA #AA2739
split-complementary
#7BAA27 #2739AA #9727AA
monochromatic
#334610 #57781C #7BAA27 #9CD23C #B6DE6E

Accessibility & contrast

On white

2.76
#7BAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7BAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BAA27
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BAA27#FFFFFF#000000##000000
##7BAA271.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E04
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#80A291
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7baa27;
/* rgb */ color: rgb(123, 170, 39);
/* oklch */ color: oklch(68.0% 0.162 127.9);
Tailwind
colors: {
  custom: {
    50: '#a5c36c',
    500: '#7baa27',
    950: '#000000',
  },
}
SCSS
$custom: #7baa27;
$custom-light: #a5c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#7baa27",
  "rgb": {
    "r": 123,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 81.527,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68005,
    "c": 0.16234,
    "h": 127.9
  },
  "luminance": 0.33107
}

Semantic roles & 50–950 ramp

primary
#7BAA27
secondary
#8969C4
accent
#42E67D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7BAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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