#7BC931#7BC931

#7BC931 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 75.7% C 0.195 H 133.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7BC931
RGBrgb(123, 201, 49)
HSLhsl(91, 61%, 49%)
HSVhsv(91, 76%, 79%)
CMYKcmyk(38.8%, 0%, 75.6%, 21.2%)
CIE-LABlab(73.68, -47.60, 63.60)
CIE-LCHlch(73.68, 79.44, 126.81°)
OKLaboklab(75.71% -0.1339 0.1417)
OKLCHoklch(75.71% 0.195 133.4)
XYZxyz(29.6089, 46.2046, 10.2634)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BC931 #7F31C9
analogous
#C7C931 #7BC931 #31C933
triadic
#7BC931 #317BC9 #C9317B
tetradic
#7BC931 #31C7C9 #7F31C9 #C93331
square
#7BC931 #31C7C9 #7F31C9 #C93331
split-complementary
#7BC931 #3331C9 #C931C7
monochromatic
#3F6719 #5D9825 #7BC931 #9AD85F #B9E490

Accessibility & contrast

On white

2.05
#7BC931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#7BC931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BC931
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BC931#FFFFFF#000000##000000
##7BC9311.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90B
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#7BC1AC
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #7bc931;
/* rgb */ color: rgb(123, 201, 49);
/* oklch */ color: oklch(75.7% 0.195 133.4);
Tailwind
colors: {
  custom: {
    50: '#a7da74',
    500: '#7bc931',
    950: '#000000',
  },
}
SCSS
$custom: #7bc931;
$custom-light: #a7da74;
$custom-dark: #000000;
JSON
{
  "hex": "#7bc931",
  "rgb": {
    "r": 123,
    "g": 201,
    "b": 49
  },
  "hsl": {
    "h": 90.789,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75714,
    "c": 0.19495,
    "h": 133.4
  },
  "luminance": 0.46206
}

Semantic roles & 50–950 ramp

primary
#7BC931
secondary
#AC87CF
accent
#44E496
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7BC931

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

Preview Lab → · Contrast checker → · Palette generator →

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