#7EBC2F#7EBC2F

#7EBC2F is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 72.7% C 0.179 H 130.8°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7EBC2F
RGBrgb(126, 188, 47)
HSLhsl(86, 60%, 46%)
HSVhsv(86, 75%, 74%)
CMYKcmyk(33%, 0%, 75%, 26.3%)
CIE-LABlab(69.90, -41.16, 60.66)
CIE-LCHlch(69.90, 73.31, 124.16°)
OKLaboklab(72.67% -0.1168 0.1352)
OKLCHoklch(72.67% 0.179 130.8)
XYZxyz(27.1003, 40.6063, 9.0987)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBC2F #6D2FBC
analogous
#BCB32F #7EBC2F #37BC2F
triadic
#7EBC2F #2F7EBC #BC2F7E
tetradic
#7EBC2F #2FBCB3 #6D2FBC #BC2F37
square
#7EBC2F #2FBCB3 #6D2FBC #BC2F37
split-complementary
#7EBC2F #2F37BC #B32FBC
monochromatic
#3C5A17 #5D8B23 #7EBC2F #9CD454 #B8E085

Accessibility & contrast

On white

2.30
#7EBC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#7EBC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBC2F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBC2F#FFFFFF#000000##000000
##7EBC2F1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0F
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#81B4A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7ebc2f;
/* rgb */ color: rgb(126, 188, 47);
/* oklch */ color: oklch(72.7% 0.179 130.8);
Tailwind
colors: {
  custom: {
    50: '#a8d072',
    500: '#7ebc2f',
    950: '#000000',
  },
}
SCSS
$custom: #7ebc2f;
$custom-light: #a8d072;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebc2f",
  "rgb": {
    "r": 126,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 86.383,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72665,
    "c": 0.17867,
    "h": 130.8
  },
  "luminance": 0.40607
}

Semantic roles & 50–950 ramp

primary
#7EBC2F
secondary
#9F7DCA
accent
#45E38A
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7EBC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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