#7CBA38#7CBA38

#7CBA38 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.1% C 0.172 H 131.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7CBA38
RGBrgb(124, 186, 56)
HSLhsl(89, 54%, 47%)
HSVhsv(89, 70%, 73%)
CMYKcmyk(33.3%, 0%, 69.9%, 27.1%)
CIE-LABlab(69.25, -40.45, 56.74)
CIE-LCHlch(69.25, 69.68, 125.49°)
OKLaboklab(72.12% -0.1141 0.1283)
OKLCHoklch(72.12% 0.172 131.6)
XYZxyz(26.5846, 39.6874, 10.0004)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBA38 #7638BA
analogous
#BAB738 #7CBA38 #3BBA38
triadic
#7CBA38 #387CBA #BA387C
tetradic
#7CBA38 #38BAB7 #7638BA #BA383B
square
#7CBA38 #38BAB7 #7638BA #BA383B
split-complementary
#7CBA38 #383BBA #B738BA
monochromatic
#3D5C1C #5D8B2A #7CBA38 #9ACF60 #B8DD8F

Accessibility & contrast

On white

2.35
#7CBA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#7CBA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBA38
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBA38#FFFFFF#000000##000000
##7CBA381.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#7EB2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7cba38;
/* rgb */ color: rgb(124, 186, 56);
/* oklch */ color: oklch(72.1% 0.172 131.6);
Tailwind
colors: {
  custom: {
    50: '#a6cf76',
    500: '#7cba38',
    950: '#000000',
  },
}
SCSS
$custom: #7cba38;
$custom-light: #a6cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#7cba38",
  "rgb": {
    "r": 124,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 88.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72123,
    "c": 0.1717,
    "h": 131.6
  },
  "luminance": 0.39688
}

Semantic roles & 50–950 ramp

primary
#7CBA38
secondary
#A586C8
accent
#4BDD91
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBA38

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

Preview Lab → · Contrast checker → · Palette generator →

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