#7CB531#7CB531

#7CB531 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 70.8% C 0.170 H 130.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7CB531
RGBrgb(124, 181, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 73%, 71%)
CMYKcmyk(31.5%, 0%, 72.9%, 29%)
CIE-LABlab(67.69, -38.72, 57.77)
CIE-LCHlch(67.69, 69.54, 123.83°)
OKLaboklab(70.84% -0.1099 0.1295)
OKLCHoklch(70.84% 0.17 130.3)
XYZxyz(25.3903, 37.5538, 8.8160)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB531 #6A31B5
analogous
#B5AC31 #7CB531 #3AB531
triadic
#7CB531 #317CB5 #B5317C
tetradic
#7CB531 #31B5AC #6A31B5 #B5313A
square
#7CB531 #31B5AC #6A31B5 #B5313A
split-complementary
#7CB531 #313AB5 #AC31B5
monochromatic
#3A5517 #5B8524 #7CB531 #9AD053 #B6DD83

Accessibility & contrast

On white

2.47
#7CB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#7CB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB531
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB531#FFFFFF#000000##000000
##7CB5311.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA818
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#7FAD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb531;
/* rgb */ color: rgb(124, 181, 49);
/* oklch */ color: oklch(70.8% 0.170 130.3);
Tailwind
colors: {
  custom: {
    50: '#a6cb72',
    500: '#7cb531',
    950: '#000000',
  },
}
SCSS
$custom: #7cb531;
$custom-light: #a6cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb531",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 85.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7084,
    "c": 0.16982,
    "h": 130.3
  },
  "luminance": 0.37555
}

Semantic roles & 50–950 ramp

primary
#7CB531
secondary
#9C7BC7
accent
#47E189
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB531

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

Preview Lab → · Contrast checker → · Palette generator →

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