#7DC12B#7DC12B

#7DC12B is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 73.8% C 0.187 H 131.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7DC12B
RGBrgb(125, 193, 43)
HSLhsl(87, 64%, 46%)
HSVhsv(87, 78%, 76%)
CMYKcmyk(35.2%, 0%, 77.7%, 24.3%)
CIE-LABlab(71.33, -43.89, 63.30)
CIE-LCHlch(71.33, 77.02, 124.74°)
OKLaboklab(73.81% -0.1244 0.1401)
OKLCHoklch(73.81% 0.187 131.6)
XYZxyz(27.9632, 42.6732, 9.0484)
Luminance0.4267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DC12B #6F2BC1
analogous
#C1BA2B #7DC12B #32C12B
triadic
#7DC12B #2B7DC1 #C12B7D
tetradic
#7DC12B #2BC1BA #6F2BC1 #C12B32
square
#7DC12B #2BC1BA #6F2BC1 #C12B32
split-complementary
#7DC12B #2B32C1 #BA2BC1
monochromatic
#3C5D15 #5D8F20 #7DC12B #9BD851 #B8E383

Accessibility & contrast

On white

2.20
#7DC12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#7DC12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DC12B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DC12B#FFFFFF#000000##000000
##7DC12B1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C0AD3B
Tritanopia (blue-blind)
#7FB9A5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #7dc12b;
/* rgb */ color: rgb(125, 193, 43);
/* oklch */ color: oklch(73.8% 0.187 131.6);
Tailwind
colors: {
  custom: {
    50: '#a8d471',
    500: '#7dc12b',
    950: '#000000',
  },
}
SCSS
$custom: #7dc12b;
$custom-light: #a8d471;
$custom-dark: #000000;
JSON
{
  "hex": "#7dc12b",
  "rgb": {
    "r": 125,
    "g": 193,
    "b": 43
  },
  "hsl": {
    "h": 87.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73814,
    "c": 0.18737,
    "h": 131.6
  },
  "luminance": 0.42674
}

Semantic roles & 50–950 ramp

primary
#7DC12B
secondary
#A07BCC
accent
#41E78C
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101408
muted
#7F837B

Preview Lab

Preview with #7DC12B

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

Preview Lab → · Contrast checker → · Palette generator →

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