#7CAF30#7CAF30

#7CAF30 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.163 H 129.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7CAF30
RGBrgb(124, 175, 48)
HSLhsl(84, 57%, 44%)
HSVhsv(84, 73%, 69%)
CMYKcmyk(29.1%, 0%, 72.6%, 31.4%)
CIE-LABlab(65.87, -36.10, 56.33)
CIE-LCHlch(65.87, 66.90, 122.65°)
OKLaboklab(69.36% -0.1028 0.1263)
OKLCHoklch(69.36% 0.163 129.2)
XYZxyz(24.1756, 35.1578, 8.3081)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF30 #6330AF
analogous
#AFA230 #7CAF30 #3DAF30
triadic
#7CAF30 #307CAF #AF307C
tetradic
#7CAF30 #30AFA2 #6330AF #AF303D
square
#7CAF30 #30AFA2 #6330AF #AF303D
split-complementary
#7CAF30 #303DAF #A230AF
monochromatic
#384F16 #5A7F23 #7CAF30 #9BCE4E #B6DC7E

Accessibility & contrast

On white

2.61
#7CAF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#7CAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF30
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF30#FFFFFF#000000##000000
##7CAF301.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A219
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#80A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf30;
/* rgb */ color: rgb(124, 175, 48);
/* oklch */ color: oklch(69.4% 0.163 129.2);
Tailwind
colors: {
  custom: {
    50: '#a6c771',
    500: '#7caf30',
    950: '#000000',
  },
}
SCSS
$custom: #7caf30;
$custom-light: #a6c771;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf30",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 84.094,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69358,
    "c": 0.16287,
    "h": 129.2
  },
  "luminance": 0.35158
}

Semantic roles & 50–950 ramp

primary
#7CAF30
secondary
#9676C4
accent
#48E085
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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