#7FBE31#7FBE31

#7FBE31 is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.2% C 0.179 H 131.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7FBE31
RGBrgb(127, 190, 49)
HSLhsl(87, 59%, 47%)
HSVhsv(87, 74%, 75%)
CMYKcmyk(33.2%, 0%, 74.2%, 25.5%)
CIE-LABlab(70.57, -41.55, 60.65)
CIE-LCHlch(70.57, 73.52, 124.41°)
OKLaboklab(73.23% -0.1178 0.1354)
OKLCHoklch(73.23% 0.179 131)
XYZxyz(27.7200, 41.5597, 9.4664)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBE31 #7031BE
analogous
#BEB731 #7FBE31 #38BE31
triadic
#7FBE31 #317FBE #BE317F
tetradic
#7FBE31 #31BEB7 #7031BE #BE3138
square
#7FBE31 #31BEB7 #7031BE #BE3138
split-complementary
#7FBE31 #3138BE #B731BE
monochromatic
#3E5D18 #5E8D24 #7FBE31 #9DD458 #B9E189

Accessibility & contrast

On white

2.26
#7FBE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#7FBE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBE31
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBE31#FFFFFF#000000##000000
##7FBE311.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B013
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#82B6A3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7fbe31;
/* rgb */ color: rgb(127, 190, 49);
/* oklch */ color: oklch(73.2% 0.179 131.0);
Tailwind
colors: {
  custom: {
    50: '#a9d273',
    500: '#7fbe31',
    950: '#000000',
  },
}
SCSS
$custom: #7fbe31;
$custom-light: #a9d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbe31",
  "rgb": {
    "r": 127,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 86.809,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73227,
    "c": 0.17949,
    "h": 131
  },
  "luminance": 0.41561
}

Semantic roles & 50–950 ramp

primary
#7FBE31
secondary
#A180CA
accent
#46E28C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBE31

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

Preview Lab → · Contrast checker → · Palette generator →

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