#7CBB42#7CBB42

#7CBB42 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.5% C 0.166 H 132.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7CBB42
RGBrgb(124, 187, 66)
HSLhsl(91, 48%, 50%)
HSVhsv(91, 65%, 73%)
CMYKcmyk(33.7%, 0%, 64.7%, 26.7%)
CIE-LABlab(69.62, -40.12, 53.12)
CIE-LCHlch(69.62, 66.57, 127.07°)
OKLaboklab(72.46% -0.1124 0.122)
OKLCHoklch(72.46% 0.166 132.6)
XYZxyz(27.0655, 40.2180, 11.4900)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBB42 #8142BB
analogous
#B8BB42 #7CBB42 #42BB45
triadic
#7CBB42 #427CBB #BB427C
tetradic
#7CBB42 #42B8BB #8142BB #BB4542
square
#7CBB42 #42B8BB #8142BB #BB4542
split-complementary
#7CBB42 #4542BB #BB42B8
monochromatic
#406122 #5E8E32 #7CBB42 #9BCC6E #BADC9C

Accessibility & contrast

On white

2.32
#7CBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#7CBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBB42
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBB42#FFFFFF#000000##000000
##7CBB421.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#BAA84C
Tritanopia (blue-blind)
#7DB4A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7cbb42;
/* rgb */ color: rgb(124, 187, 66);
/* oklch */ color: oklch(72.5% 0.166 132.6);
Tailwind
colors: {
  custom: {
    50: '#a6d07c',
    500: '#7cbb42',
    950: '#000000',
  },
}
SCSS
$custom: #7cbb42;
$custom-light: #a6d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7cbb42",
  "rgb": {
    "r": 124,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 91.24,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72455,
    "c": 0.1659,
    "h": 132.6
  },
  "luminance": 0.40219
}

Semantic roles & 50–950 ramp

primary
#7CBB42
secondary
#AE91C8
accent
#50D797
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7CBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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