#7CBA3B#7CBA3B

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

Color values

HEX#7CBA3B
RGBrgb(124, 186, 59)
HSLhsl(89, 52%, 48%)
HSVhsv(89, 68%, 73%)
CMYKcmyk(33.3%, 0%, 68.3%, 27.1%)
CIE-LABlab(69.27, -40.24, 55.60)
CIE-LCHlch(69.27, 68.63, 125.89°)
OKLaboklab(72.15% -0.1133 0.1263)
OKLCHoklch(72.15% 0.17 131.9)
XYZxyz(26.6602, 39.7177, 10.3984)
Luminance0.3972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBA3B #793BBA
analogous
#BAB83B #7CBA3B #3DBA3B
triadic
#7CBA3B #3B7CBA #BA3B7C
tetradic
#7CBA3B #3BBAB8 #793BBA #BA3B3D
square
#7CBA3B #3BBAB8 #793BBA #BA3B3D
split-complementary
#7CBA3B #3B3DBA #B83BBA
monochromatic
#3E5D1E #5D8C2C #7CBA3B #9ACE64 #B9DD93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CBA3B#FFFFFF#000000##000000
##7CBA3B1.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)
#C2AC28
Deuteranopia (green-blind)
#B9A746
Tritanopia (blue-blind)
#7EB2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7cba3b;
/* rgb */ color: rgb(124, 186, 59);
/* oklch */ color: oklch(72.1% 0.170 131.9);
Tailwind
colors: {
  custom: {
    50: '#a6cf78',
    500: '#7cba3b',
    950: '#000000',
  },
}
SCSS
$custom: #7cba3b;
$custom-light: #a6cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#7cba3b",
  "rgb": {
    "r": 124,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 89.291,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72147,
    "c": 0.16968,
    "h": 131.9
  },
  "luminance": 0.39719
}

Semantic roles & 50–950 ramp

primary
#7CBA3B
secondary
#A889C8
accent
#4DDB92
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#101409
muted
#7F827B

Preview Lab

Preview with #7CBA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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