#7DB242#7DB242

#7DB242 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.153 H 130.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7DB242
RGBrgb(125, 178, 66)
HSLhsl(88, 46%, 48%)
HSVhsv(88, 63%, 70%)
CMYKcmyk(29.8%, 0%, 62.9%, 30.2%)
CIE-LABlab(66.97, -35.74, 50.24)
CIE-LCHlch(66.97, 61.66, 125.42°)
OKLaboklab(70.31% -0.1004 0.1159)
OKLCHoklch(70.31% 0.153 130.9)
XYZxyz(25.3610, 36.5933, 10.8802)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB242 #7742B2
analogous
#B2AF42 #7DB242 #45B242
triadic
#7DB242 #427DB2 #B2427D
tetradic
#7DB242 #42B2AF #7742B2 #B24245
square
#7DB242 #42B2AF #7742B2 #B24245
split-complementary
#7DB242 #4245B2 #AF42B2
monochromatic
#3E5921 #5E8531 #7DB242 #9BC86A #B9D896

Accessibility & contrast

On white

2.52
#7DB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7DB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB242
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB242#FFFFFF#000000##000000
##7DB2421.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA635
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#7FAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7db242;
/* rgb */ color: rgb(125, 178, 66);
/* oklch */ color: oklch(70.3% 0.153 130.9);
Tailwind
colors: {
  custom: {
    50: '#a6c97b',
    500: '#7db242',
    950: '#000000',
  },
}
SCSS
$custom: #7db242;
$custom-light: #a6c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#7db242",
  "rgb": {
    "r": 125,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 88.393,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70311,
    "c": 0.1534,
    "h": 130.9
  },
  "luminance": 0.36594
}

Semantic roles & 50–950 ramp

primary
#7DB242
secondary
#A68CC4
accent
#52D690
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7DB242

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

Preview Lab → · Contrast checker → · Palette generator →

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