#7CAB31#7CAB31

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

Color values

HEX#7CAB31
RGBrgb(124, 171, 49)
HSLhsl(83, 55%, 43%)
HSVhsv(83, 71%, 67%)
CMYKcmyk(27.5%, 0%, 71.3%, 32.9%)
CIE-LABlab(64.67, -34.21, 54.76)
CIE-LCHlch(64.67, 64.56, 122.00°)
OKLaboklab(68.38% -0.0976 0.1231)
OKLCHoklch(68.38% 0.157 128.4)
XYZxyz(23.4294, 33.6321, 8.1624)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB31 #6031AB
analogous
#AB9D31 #7CAB31 #3FAB31
triadic
#7CAB31 #317CAB #AB317C
tetradic
#7CAB31 #31AB9D #6031AB #AB313F
square
#7CAB31 #31AB9D #6031AB #AB313F
split-complementary
#7CAB31 #313FAB #9D31AB
monochromatic
#374C16 #5A7B23 #7CAB31 #9BCC4D #B6DA7D

Accessibility & contrast

On white

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

On black

7.73
#7CAB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB31
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB31#FFFFFF#000000##000000
##7CAB311.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cab31;
/* rgb */ color: rgb(124, 171, 49);
/* oklch */ color: oklch(68.4% 0.157 128.4);
Tailwind
colors: {
  custom: {
    50: '#a6c471',
    500: '#7cab31',
    950: '#000000',
  },
}
SCSS
$custom: #7cab31;
$custom-light: #a6c471;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab31",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 83.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68383,
    "c": 0.15714,
    "h": 128.4
  },
  "luminance": 0.33633
}

Semantic roles & 50–950 ramp

primary
#7CAB31
secondary
#9375C2
accent
#49DF83
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB31

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

Preview Lab → · Contrast checker → · Palette generator →

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