#7CAF2F#7CAF2F

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

Color values

HEX#7CAF2F
RGBrgb(124, 175, 47)
HSLhsl(84, 58%, 44%)
HSVhsv(84, 73%, 69%)
CMYKcmyk(29.1%, 0%, 73.1%, 31.4%)
CIE-LABlab(65.86, -36.16, 56.68)
CIE-LCHlch(65.86, 67.23, 122.53°)
OKLaboklab(69.35% -0.1031 0.1269)
OKLCHoklch(69.35% 0.163 129.1)
XYZxyz(24.1552, 35.1496, 8.2007)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF2F #622FAF
analogous
#AFA22F #7CAF2F #3CAF2F
triadic
#7CAF2F #2F7CAF #AF2F7C
tetradic
#7CAF2F #2FAFA2 #622FAF #AF2F3C
square
#7CAF2F #2FAFA2 #622FAF #AF2F3C
split-complementary
#7CAF2F #2F3CAF #A22FAF
monochromatic
#384F15 #5A7F22 #7CAF2F #9BCF4C #B6DC7C

Accessibility & contrast

On white

2.62
#7CAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAF2F#FFFFFF#000000##000000
##7CAF2F1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7caf2f;
/* rgb */ color: rgb(124, 175, 47);
/* oklch */ color: oklch(69.4% 0.163 129.1);
Tailwind
colors: {
  custom: {
    50: '#a6c770',
    500: '#7caf2f',
    950: '#000000',
  },
}
SCSS
$custom: #7caf2f;
$custom-light: #a6c770;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf2f",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 83.906,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69351,
    "c": 0.16349,
    "h": 129.1
  },
  "luminance": 0.3515
}

Semantic roles & 50–950 ramp

primary
#7CAF2F
secondary
#9575C4
accent
#47E184
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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