#7CBF31#7CBF31

#7CBF31 is a light, vivid yellow-green. Relative luminance 0.418; OKLCH L 73.3% C 0.182 H 131.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7CBF31
RGBrgb(124, 191, 49)
HSLhsl(88, 59%, 47%)
HSVhsv(88, 74%, 75%)
CMYKcmyk(35.1%, 0%, 74.3%, 25.1%)
CIE-LABlab(70.71, -43.06, 60.74)
CIE-LCHlch(70.71, 74.45, 125.34°)
OKLaboklab(73.3% -0.1217 0.1357)
OKLCHoklch(73.3% 0.182 131.9)
XYZxyz(27.4971, 41.7673, 9.5182)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBF31 #7431BF
analogous
#BFBB31 #7CBF31 #35BF31
triadic
#7CBF31 #317CBF #BF317C
tetradic
#7CBF31 #31BFBB #7431BF #BF3135
square
#7CBF31 #31BFBB #7431BF #BF3135
split-complementary
#7CBF31 #3135BF #BB31BF
monochromatic
#3D5E18 #5C8E25 #7CBF31 #9AD459 #B8E18A

Accessibility & contrast

On white

2.25
#7CBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#7CBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBF31
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBF31#FFFFFF#000000##000000
##7CBF311.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cbf31;
/* rgb */ color: rgb(124, 191, 49);
/* oklch */ color: oklch(73.3% 0.182 131.9);
Tailwind
colors: {
  custom: {
    50: '#a7d273',
    500: '#7cbf31',
    950: '#000000',
  },
}
SCSS
$custom: #7cbf31;
$custom-light: #a7d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbf31",
  "rgb": {
    "r": 124,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 88.31,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73302,
    "c": 0.18226,
    "h": 131.9
  },
  "luminance": 0.41768
}

Semantic roles & 50–950 ramp

primary
#7CBF31
secondary
#A481CB
accent
#45E28F
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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