#7CAF2E#7CAF2E

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

Color values

HEX#7CAF2E
RGBrgb(124, 175, 46)
HSLhsl(84, 58%, 43%)
HSVhsv(84, 74%, 69%)
CMYKcmyk(29.1%, 0%, 73.7%, 31.4%)
CIE-LABlab(65.86, -36.22, 57.04)
CIE-LCHlch(65.86, 67.56, 122.42°)
OKLaboklab(69.34% -0.1033 0.1275)
OKLCHoklch(69.34% 0.164 129)
XYZxyz(24.1352, 35.1416, 8.0957)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF2E #612EAF
analogous
#AFA12E #7CAF2E #3BAF2E
triadic
#7CAF2E #2E7CAF #AF2E7C
tetradic
#7CAF2E #2EAFA1 #612EAF #AF2E3B
square
#7CAF2E #2EAFA1 #612EAF #AF2E3B
split-complementary
#7CAF2E #2E3BAF #A12EAF
monochromatic
#374E15 #5A7F21 #7CAF2E #9BD04B #B6DC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAF2E#FFFFFF#000000##000000
##7CAF2E1.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)
#B7A215
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#80A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf2e;
/* rgb */ color: rgb(124, 175, 46);
/* oklch */ color: oklch(69.3% 0.164 129.0);
Tailwind
colors: {
  custom: {
    50: '#a6c770',
    500: '#7caf2e',
    950: '#000000',
  },
}
SCSS
$custom: #7caf2e;
$custom-light: #a6c770;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf2e",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 83.721,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.16409,
    "h": 129
  },
  "luminance": 0.35142
}

Semantic roles & 50–950 ramp

primary
#7CAF2E
secondary
#9474C5
accent
#46E284
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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