#7CBB31#7CBB31

#7CBB31 is a light, vivid yellow-green. Relative luminance 0.400; OKLCH L 72.3% C 0.177 H 131.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7CBB31
RGBrgb(124, 187, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 74%, 73%)
CMYKcmyk(33.7%, 0%, 73.8%, 26.7%)
CIE-LABlab(69.50, -41.34, 59.56)
CIE-LCHlch(69.50, 72.50, 124.77°)
OKLaboklab(72.32% -0.117 0.1332)
OKLCHoklch(72.32% 0.177 131.3)
XYZxyz(26.6366, 40.0465, 9.2314)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBB31 #7031BB
analogous
#BBB531 #7CBB31 #37BB31
triadic
#7CBB31 #317CBB #BB317C
tetradic
#7CBB31 #31BBB5 #7031BB #BB3137
square
#7CBB31 #31BBB5 #7031BB #BB3137
split-complementary
#7CBB31 #3137BB #B531BB
monochromatic
#3C5A18 #5C8B24 #7CBB31 #9AD356 #B7E087

Accessibility & contrast

On white

2.33
#7CBB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#7CBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBB31
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBB31#FFFFFF#000000##000000
##7CBB311.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD15
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#7EB3A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7cbb31;
/* rgb */ color: rgb(124, 187, 49);
/* oklch */ color: oklch(72.3% 0.177 131.3);
Tailwind
colors: {
  custom: {
    50: '#a7d073',
    500: '#7cbb31',
    950: '#000000',
  },
}
SCSS
$custom: #7cbb31;
$custom-light: #a7d073;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbb31",
  "rgb": {
    "r": 124,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 87.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72317,
    "c": 0.17731,
    "h": 131.3
  },
  "luminance": 0.40047
}

Semantic roles & 50–950 ramp

primary
#7CBB31
secondary
#A17FC9
accent
#46E28D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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