#7CAB30#7CAB30

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

Color values

HEX#7CAB30
RGBrgb(124, 171, 48)
HSLhsl(83, 56%, 43%)
HSVhsv(83, 72%, 67%)
CMYKcmyk(27.5%, 0%, 71.9%, 32.9%)
CIE-LABlab(64.66, -34.27, 55.12)
CIE-LCHlch(64.66, 64.91, 121.87°)
OKLaboklab(68.38% -0.0979 0.1238)
OKLCHoklch(68.38% 0.158 128.3)
XYZxyz(23.4086, 33.6238, 8.0525)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB30 #5F30AB
analogous
#AB9C30 #7CAB30 #3EAB30
triadic
#7CAB30 #307CAB #AB307C
tetradic
#7CAB30 #30AB9C #5F30AB #AB303E
square
#7CAB30 #30AB9C #5F30AB #AB303E
split-complementary
#7CAB30 #303EAB #9C30AB
monochromatic
#374B15 #597B23 #7CAB30 #9BCD4C #B6DA7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAB30#FFFFFF#000000##000000
##7CAB301.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)
#B39F1B
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab30;
/* rgb */ color: rgb(124, 171, 48);
/* oklch */ color: oklch(68.4% 0.158 128.3);
Tailwind
colors: {
  custom: {
    50: '#a6c470',
    500: '#7cab30',
    950: '#000000',
  },
}
SCSS
$custom: #7cab30;
$custom-light: #a6c470;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab30",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 82.927,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.15779,
    "h": 128.3
  },
  "luminance": 0.33624
}

Semantic roles & 50–950 ramp

primary
#7CAB30
secondary
#9274C3
accent
#48DF82
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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