#7CBD31#7CBD31

#7CBD31 is a light, vivid yellow-green. Relative luminance 0.409; OKLCH L 72.8% C 0.180 H 131.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7CBD31
RGBrgb(124, 189, 49)
HSLhsl(88, 59%, 47%)
HSVhsv(88, 74%, 74%)
CMYKcmyk(34.4%, 0%, 74.1%, 25.9%)
CIE-LABlab(70.11, -42.21, 60.15)
CIE-LCHlch(70.11, 73.48, 125.06°)
OKLaboklab(72.81% -0.1194 0.1344)
OKLCHoklch(72.81% 0.18 131.6)
XYZxyz(27.0639, 40.9010, 9.3739)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBD31 #7231BD
analogous
#BDB831 #7CBD31 #36BD31
triadic
#7CBD31 #317CBD #BD317C
tetradic
#7CBD31 #31BDB8 #7231BD #BD3136
square
#7CBD31 #31BDB8 #7231BD #BD3136
split-complementary
#7CBD31 #3136BD #B831BD
monochromatic
#3C5C18 #5C8C24 #7CBD31 #9AD458 #B7E088

Accessibility & contrast

On white

2.29
#7CBD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#7CBD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBD31
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBD31#FFFFFF#000000##000000
##7CBD311.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF14
Deuteranopia (green-blind)
#BCAA3F
Tritanopia (blue-blind)
#7EB5A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7cbd31;
/* rgb */ color: rgb(124, 189, 49);
/* oklch */ color: oklch(72.8% 0.180 131.6);
Tailwind
colors: {
  custom: {
    50: '#a7d173',
    500: '#7cbd31',
    950: '#000000',
  },
}
SCSS
$custom: #7cbd31;
$custom-light: #a7d173;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbd31",
  "rgb": {
    "r": 124,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 87.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72809,
    "c": 0.17979,
    "h": 131.6
  },
  "luminance": 0.40902
}

Semantic roles & 50–950 ramp

primary
#7CBD31
secondary
#A280CA
accent
#46E28E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBD31

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

Preview Lab → · Contrast checker → · Palette generator →

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