#7CAB2B#7CAB2B

#7CAB2B is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.3% C 0.161 H 128.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7CAB2B
RGBrgb(124, 171, 43)
HSLhsl(82, 60%, 42%)
HSVhsv(82, 75%, 67%)
CMYKcmyk(27.5%, 0%, 74.9%, 32.9%)
CIE-LABlab(64.63, -34.57, 56.89)
CIE-LCHlch(64.63, 66.57, 121.29°)
OKLaboklab(68.34% -0.0991 0.1267)
OKLCHoklch(68.34% 0.161 128)
XYZxyz(23.3111, 33.5848, 7.5394)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB2B #5A2BAB
analogous
#AB9A2B #7CAB2B #3CAB2B
triadic
#7CAB2B #2B7CAB #AB2B7C
tetradic
#7CAB2B #2BAB9A #5A2BAB #AB2B3C
square
#7CAB2B #2BAB9A #5A2BAB #AB2B3C
split-complementary
#7CAB2B #2B3CAB #9A2BAB
monochromatic
#354912 #597A1F #7CAB2B #9CD043 #B6DC74

Accessibility & contrast

On white

2.72
#7CAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7CAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB2B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB2B#FFFFFF#000000##000000
##7CAB2B1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F10
Deuteranopia (green-blind)
#AD9C37
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab2b;
/* rgb */ color: rgb(124, 171, 43);
/* oklch */ color: oklch(68.3% 0.161 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6c46e',
    500: '#7cab2b',
    950: '#000000',
  },
}
SCSS
$custom: #7cab2b;
$custom-light: #a6c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab2b",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 82.031,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6834,
    "c": 0.16085,
    "h": 128
  },
  "luminance": 0.33585
}

Semantic roles & 50–950 ramp

primary
#7CAB2B
secondary
#8E6EC4
accent
#45E37F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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