#7CAF3C#7CAF3C

#7CAF3C is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.155 H 130.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7CAF3C
RGBrgb(124, 175, 60)
HSLhsl(87, 49%, 46%)
HSVhsv(87, 66%, 69%)
CMYKcmyk(29.1%, 0%, 65.7%, 31.4%)
CIE-LABlab(65.96, -35.25, 51.70)
CIE-LCHlch(65.96, 62.57, 124.28°)
OKLaboklab(69.46% -0.0995 0.1183)
OKLCHoklch(69.46% 0.155 130.1)
XYZxyz(24.4576, 35.2706, 9.7934)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF3C #6F3CAF
analogous
#AFA83C #7CAF3C #42AF3C
triadic
#7CAF3C #3C7CAF #AF3C7C
tetradic
#7CAF3C #3CAFA8 #6F3CAF #AF3C42
square
#7CAF3C #3CAFA8 #6F3CAF #AF3C42
split-complementary
#7CAF3C #3C42AF #A83CAF
monochromatic
#3B541D #5C812C #7CAF3C #9AC860 #B7D88D

Accessibility & contrast

On white

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

On black

8.05
#7CAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF3C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF3C#FFFFFF#000000##000000
##7CAF3C1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32D
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#7FA897
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf3c;
/* rgb */ color: rgb(124, 175, 60);
/* oklch */ color: oklch(69.5% 0.155 130.1);
Tailwind
colors: {
  custom: {
    50: '#a5c777',
    500: '#7caf3c',
    950: '#000000',
  },
}
SCSS
$custom: #7caf3c;
$custom-light: #a5c777;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf3c",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 86.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69457,
    "c": 0.15458,
    "h": 130.1
  },
  "luminance": 0.35271
}

Semantic roles & 50–950 ramp

primary
#7CAF3C
secondary
#A084C3
accent
#4FD88C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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