#7CAB2D#7CAB2D

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

Color values

HEX#7CAB2D
RGBrgb(124, 171, 45)
HSLhsl(82, 58%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(27.5%, 0%, 73.7%, 32.9%)
CIE-LABlab(64.64, -34.46, 56.20)
CIE-LCHlch(64.64, 65.92, 121.51°)
OKLaboklab(68.35% -0.0986 0.1256)
OKLCHoklch(68.35% 0.16 128.2)
XYZxyz(23.3487, 33.5998, 7.7374)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB2D #5C2DAB
analogous
#AB9B2D #7CAB2D #3DAB2D
triadic
#7CAB2D #2D7CAB #AB2D7C
tetradic
#7CAB2D #2DAB9B #5C2DAB #AB2D3D
square
#7CAB2D #2DAB9B #5C2DAB #AB2D3D
split-complementary
#7CAB2D #2D3DAB #9B2DAB
monochromatic
#364A14 #597B20 #7CAB2D #9CCE47 #B6DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAB2D#FFFFFF#000000##000000
##7CAB2D1.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)
#B49F14
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab2d;
/* rgb */ color: rgb(124, 171, 45);
/* oklch */ color: oklch(68.4% 0.160 128.2);
Tailwind
colors: {
  custom: {
    50: '#a6c46f',
    500: '#7cab2d',
    950: '#000000',
  },
}
SCSS
$custom: #7cab2d;
$custom-light: #a6c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab2d",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 82.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68354,
    "c": 0.15967,
    "h": 128.2
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#7CAB2D
secondary
#8F71C3
accent
#46E280
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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