#7CBA2F#7CBA2F

#7CBA2F is a light, vivid yellow-green. Relative luminance 0.396; OKLCH L 72.1% C 0.177 H 131.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7CBA2F
RGBrgb(124, 186, 47)
HSLhsl(87, 60%, 46%)
HSVhsv(87, 75%, 73%)
CMYKcmyk(33.3%, 0%, 74.7%, 27.1%)
CIE-LABlab(69.19, -41.03, 59.94)
CIE-LCHlch(69.19, 72.64, 124.39°)
OKLaboklab(72.06% -0.1163 0.1337)
OKLCHoklch(72.06% 0.177 131)
XYZxyz(26.3840, 39.6072, 8.9436)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CBA2F #6D2FBA
analogous
#BAB32F #7CBA2F #36BA2F
triadic
#7CBA2F #2F7CBA #BA2F7C
tetradic
#7CBA2F #2FBAB3 #6D2FBA #BA2F36
square
#7CBA2F #2FBAB3 #6D2FBA #BA2F36
split-complementary
#7CBA2F #2F36BA #B32FBA
monochromatic
#3B5816 #5B8923 #7CBA2F #9AD353 #B7E084

Accessibility & contrast

On white

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

On black

8.92
#7CBA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CBA2F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CBA2F#FFFFFF#000000##000000
##7CBA2F1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC11
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#7EB29F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7cba2f;
/* rgb */ color: rgb(124, 186, 47);
/* oklch */ color: oklch(72.1% 0.177 131.0);
Tailwind
colors: {
  custom: {
    50: '#a7cf72',
    500: '#7cba2f',
    950: '#000000',
  },
}
SCSS
$custom: #7cba2f;
$custom-light: #a7cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#7cba2f",
  "rgb": {
    "r": 124,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 86.763,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72057,
    "c": 0.17723,
    "h": 131
  },
  "luminance": 0.39608
}

Semantic roles & 50–950 ramp

primary
#7CBA2F
secondary
#9E7CC9
accent
#45E38B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7CBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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