#7DB042#7DB042

#7DB042 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.8% C 0.151 H 130.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7DB042
RGBrgb(125, 176, 66)
HSLhsl(88, 45%, 47%)
HSVhsv(88, 63%, 69%)
CMYKcmyk(29%, 0%, 62.5%, 31%)
CIE-LABlab(66.37, -34.83, 49.58)
CIE-LCHlch(66.37, 60.59, 125.08°)
OKLaboklab(69.82% -0.0979 0.1145)
OKLCHoklch(69.82% 0.151 130.5)
XYZxyz(24.9659, 35.8033, 10.7485)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DB042 #7542B0
analogous
#B0AC42 #7DB042 #46B042
triadic
#7DB042 #427DB0 #B0427D
tetradic
#7DB042 #42B0AC #7542B0 #B04246
square
#7DB042 #42B0AC #7542B0 #B04246
split-complementary
#7DB042 #4246B0 #AC42B0
monochromatic
#3E5721 #5D8331 #7DB042 #9BC769 #B9D795

Accessibility & contrast

On white

2.57
#7DB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#7DB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DB042
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DB042#FFFFFF#000000##000000
##7DB0421.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#B0A04A
Tritanopia (blue-blind)
#80A999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7db042;
/* rgb */ color: rgb(125, 176, 66);
/* oklch */ color: oklch(69.8% 0.151 130.5);
Tailwind
colors: {
  custom: {
    50: '#a6c87b',
    500: '#7db042',
    950: '#000000',
  },
}
SCSS
$custom: #7db042;
$custom-light: #a6c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7db042",
  "rgb": {
    "r": 125,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 87.818,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69822,
    "c": 0.15069,
    "h": 130.5
  },
  "luminance": 0.35804
}

Semantic roles & 50–950 ramp

primary
#7DB042
secondary
#A58BC3
accent
#53D58F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7DB042

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

Preview Lab → · Contrast checker → · Palette generator →

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