#7CAF34#7CAF34

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

Color values

HEX#7CAF34
RGBrgb(124, 175, 52)
HSLhsl(85, 54%, 45%)
HSVhsv(85, 70%, 69%)
CMYKcmyk(29.1%, 0%, 70.3%, 31.4%)
CIE-LABlab(65.90, -35.83, 54.85)
CIE-LCHlch(65.90, 65.52, 123.15°)
OKLaboklab(69.39% -0.1018 0.1238)
OKLCHoklch(69.39% 0.16 129.4)
XYZxyz(24.2619, 35.1923, 8.7627)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF34 #6734AF
analogous
#AFA534 #7CAF34 #3FAF34
triadic
#7CAF34 #347CAF #AF347C
tetradic
#7CAF34 #34AFA5 #6734AF #AF343F
square
#7CAF34 #34AFA5 #6734AF #AF343F
split-complementary
#7CAF34 #343FAF #A534AF
monochromatic
#395118 #5B8026 #7CAF34 #9ACC54 #B6DA83

Accessibility & contrast

On white

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

On black

8.04
#7CAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF34
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF34#FFFFFF#000000##000000
##7CAF341.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#7FA797
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf34;
/* rgb */ color: rgb(124, 175, 52);
/* oklch */ color: oklch(69.4% 0.160 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c773',
    500: '#7caf34',
    950: '#000000',
  },
}
SCSS
$custom: #7caf34;
$custom-light: #a6c773;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf34",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 84.878,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69388,
    "c": 0.16029,
    "h": 129.4
  },
  "luminance": 0.35193
}

Semantic roles & 50–950 ramp

primary
#7CAF34
secondary
#997BC4
accent
#4ADE87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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