#7CAB52#7CAB52

#7CAB52 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.7% C 0.130 H 132.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7CAB52
RGBrgb(124, 171, 82)
HSLhsl(92, 35%, 50%)
HSVhsv(92, 52%, 67%)
CMYKcmyk(27.5%, 0%, 52%, 32.9%)
CIE-LABlab(64.98, -31.28, 40.48)
CIE-LCHlch(64.98, 51.15, 127.69°)
OKLaboklab(68.73% -0.0868 0.0965)
OKLCHoklch(68.73% 0.13 132)
XYZxyz(24.3977, 34.0194, 13.2620)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB52 #8152AB
analogous
#A9AB52 #7CAB52 #52AB54
triadic
#7CAB52 #527CAB #AB527C
tetradic
#7CAB52 #52A9AB #8152AB #AB5452
square
#7CAB52 #52A9AB #8152AB #AB5452
split-complementary
#7CAB52 #5452AB #AB52A9
monochromatic
#40582A #5E823E #7CAB52 #9BC07B #BAD3A4

Accessibility & contrast

On white

2.69
#7CAB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#7CAB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB52
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB52#FFFFFF#000000##000000
##7CAB521.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#AB9C58
Tritanopia (blue-blind)
#7DA597
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7cab52;
/* rgb */ color: rgb(124, 171, 82);
/* oklch */ color: oklch(68.7% 0.130 132.0);
Tailwind
colors: {
  custom: {
    50: '#a4c485',
    500: '#7cab52',
    950: '#000000',
  },
}
SCSS
$custom: #7cab52;
$custom-light: #a4c485;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab52",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 91.685,
    "s": 35.178,
    "l": 49.608
  },
  "oklch": {
    "l": 0.68733,
    "c": 0.12977,
    "h": 132
  },
  "luminance": 0.3402
}

Semantic roles & 50–950 ramp

primary
#7CAB52
secondary
#AE98C1
accent
#5DCB97
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7CAB52

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

Preview Lab → · Contrast checker → · Palette generator →

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