#7CAB38#7CAB38

#7CAB38 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.4% C 0.152 H 128.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7CAB38
RGBrgb(124, 171, 56)
HSLhsl(85, 51%, 45%)
HSVhsv(85, 67%, 67%)
CMYKcmyk(27.5%, 0%, 67.3%, 32.9%)
CIE-LABlab(64.72, -33.72, 52.05)
CIE-LCHlch(64.72, 62.01, 122.94°)
OKLaboklab(68.44% -0.0957 0.1185)
OKLCHoklch(68.44% 0.152 128.9)
XYZxyz(23.5888, 33.6959, 9.0018)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB38 #6738AB
analogous
#ABA138 #7CAB38 #42AB38
triadic
#7CAB38 #387CAB #AB387C
tetradic
#7CAB38 #38ABA1 #6738AB #AB3842
square
#7CAB38 #38ABA1 #6738AB #AB3842
split-complementary
#7CAB38 #3842AB #A138AB
monochromatic
#394F1A #5B7D29 #7CAB38 #9AC858 #B6D786

Accessibility & contrast

On white

2.71
#7CAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#7CAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB38
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB38#FFFFFF#000000##000000
##7CAB381.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F28
Deuteranopia (green-blind)
#AD9C41
Tritanopia (blue-blind)
#80A494
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab38;
/* rgb */ color: rgb(124, 171, 56);
/* oklch */ color: oklch(68.4% 0.152 128.9);
Tailwind
colors: {
  custom: {
    50: '#a5c475',
    500: '#7cab38',
    950: '#000000',
  },
}
SCSS
$custom: #7cab38;
$custom-light: #a5c475;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab38",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 84.522,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68441,
    "c": 0.15228,
    "h": 128.9
  },
  "luminance": 0.33696
}

Semantic roles & 50–950 ramp

primary
#7CAB38
secondary
#997DC1
accent
#4EDA87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7CAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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