#7BCF31#7BCF31

#7BCF31 is a light, highly saturated yellow-green. Relative luminance 0.491; OKLCH L 77.2% C 0.202 H 134.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#7BCF31
RGBrgb(123, 207, 49)
HSLhsl(92, 62%, 50%)
HSVhsv(92, 76%, 81%)
CMYKcmyk(40.6%, 0%, 76.3%, 18.8%)
CIE-LABlab(75.49, -50.04, 65.33)
CIE-LCHlch(75.49, 82.29, 127.45°)
OKLaboklab(77.2% -0.1405 0.1453)
OKLCHoklch(77.2% 0.202 134)
XYZxyz(31.0350, 49.0567, 10.7388)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7BCF31 #8531CF
analogous
#CACF31 #7BCF31 #31CF36
triadic
#7BCF31 #317BCF #CF317B
tetradic
#7BCF31 #31CACF #8531CF #CF3631
square
#7BCF31 #31CACF #8531CF #CF3631
split-complementary
#7BCF31 #3631CF #CF31CA
monochromatic
#406C19 #5E9E25 #7BCF31 #9BDB63 #BBE694

Accessibility & contrast

On white

1.94
#7BCF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#7BCF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7BCF31
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7BCF31#FFFFFF#000000##000000
##7BCF311.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE05
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#7AC7B1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #7bcf31;
/* rgb */ color: rgb(123, 207, 49);
/* oklch */ color: oklch(77.2% 0.202 134.0);
Tailwind
colors: {
  custom: {
    50: '#a8de75',
    500: '#7bcf31',
    950: '#000000',
  },
}
SCSS
$custom: #7bcf31;
$custom-light: #a8de75;
$custom-dark: #000000;
JSON
{
  "hex": "#7bcf31",
  "rgb": {
    "r": 123,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 91.899,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77195,
    "c": 0.20212,
    "h": 134
  },
  "luminance": 0.49058
}

Semantic roles & 50–950 ramp

primary
#7BCF31
secondary
#B08BD1
accent
#43E599
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7BCF31

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

Preview Lab → · Contrast checker → · Palette generator →

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