#7CBE31#7CBE31

#7CBE31 is a light, vivid yellow-green. Relative luminance 0.413; OKLCH L 73.1% C 0.181 H 131.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7CBE31
RGBrgb(124, 190, 49)
HSLhsl(88, 59%, 47%)
HSVhsv(88, 74%, 75%)
CMYKcmyk(34.7%, 0%, 74.2%, 25.5%)
CIE-LABlab(70.41, -42.63, 60.44)
CIE-LCHlch(70.41, 73.97, 125.20°)
OKLaboklab(73.06% -0.1205 0.1351)
OKLCHoklch(73.06% 0.181 131.8)
XYZxyz(27.2797, 41.3327, 9.4458)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBE31 #7331BE
analogous
#BEBA31 #7CBE31 #36BE31
triadic
#7CBE31 #317CBE #BE317C
tetradic
#7CBE31 #31BEBA #7331BE #BE3136
square
#7CBE31 #31BEBA #7331BE #BE3136
split-complementary
#7CBE31 #3136BE #BA31BE
monochromatic
#3C5D18 #5C8D24 #7CBE31 #9AD458 #B7E189

Accessibility & contrast

On white

2.27
#7CBE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#7CBE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBE31
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBE31#FFFFFF#000000##000000
##7CBE311.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF14
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#7EB6A3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #7cbe31;
/* rgb */ color: rgb(124, 190, 49);
/* oklch */ color: oklch(73.1% 0.181 131.8);
Tailwind
colors: {
  custom: {
    50: '#a7d273',
    500: '#7cbe31',
    950: '#000000',
  },
}
SCSS
$custom: #7cbe31;
$custom-light: #a7d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbe31",
  "rgb": {
    "r": 124,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 88.085,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73056,
    "c": 0.18103,
    "h": 131.8
  },
  "luminance": 0.41334
}

Semantic roles & 50–950 ramp

primary
#7CBE31
secondary
#A380CA
accent
#46E28F
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBE31

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

Preview Lab → · Contrast checker → · Palette generator →

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