#7CAB2C#7CAB2C

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

Color values

HEX#7CAB2C
RGBrgb(124, 171, 44)
HSLhsl(82, 59%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(27.5%, 0%, 74.3%, 32.9%)
CIE-LABlab(64.64, -34.52, 56.55)
CIE-LCHlch(64.64, 66.25, 121.40°)
OKLaboklab(68.35% -0.0989 0.1261)
OKLCHoklch(68.35% 0.16 128.1)
XYZxyz(23.3297, 33.5922, 7.6372)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB2C #5B2CAB
analogous
#AB9B2C #7CAB2C #3CAB2C
triadic
#7CAB2C #2C7CAB #AB2C7C
tetradic
#7CAB2C #2CAB9B #5B2CAB #AB2C3C
square
#7CAB2C #2CAB9B #5B2CAB #AB2C3C
split-complementary
#7CAB2C #2C3CAB #9B2CAB
monochromatic
#354A13 #597A1F #7CAB2C #9CCF45 #B6DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAB2C#FFFFFF#000000##000000
##7CAB2C1.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)
#B49F12
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab2c;
/* rgb */ color: rgb(124, 171, 44);
/* oklch */ color: oklch(68.3% 0.160 128.1);
Tailwind
colors: {
  custom: {
    50: '#a6c46e',
    500: '#7cab2c',
    950: '#000000',
  },
}
SCSS
$custom: #7cab2c;
$custom-light: #a6c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab2c",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 82.205,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68347,
    "c": 0.16026,
    "h": 128.1
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#7CAB2C
secondary
#8E6FC3
accent
#46E280
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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