#7DA042#7DA042

#7DA042 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.129 H 126.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7DA042
RGBrgb(125, 160, 66)
HSLhsl(82, 42%, 44%)
HSVhsv(82, 59%, 63%)
CMYKcmyk(21.9%, 0%, 58.8%, 37.3%)
CIE-LABlab(61.56, -27.27, 44.21)
CIE-LCHlch(61.56, 51.95, 121.67°)
OKLaboklab(65.93% -0.0771 0.1031)
OKLCHoklch(65.93% 0.129 126.8)
XYZxyz(22.0116, 29.8946, 9.7638)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA042 #6542A0
analogous
#A09442 #7DA042 #4EA042
triadic
#7DA042 #427DA0 #A0427D
tetradic
#7DA042 #42A094 #6542A0 #A0424E
square
#7DA042 #42A094 #6542A0 #A0424E
split-complementary
#7DA042 #424EA0 #9442A0
monochromatic
#39491E #5B7530 #7DA042 #9BBE61 #B7D08D

Accessibility & contrast

On white

3.01
#7DA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7DA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7DA042
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DA042#FFFFFF#000000##000000
##7DA0421.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89638
Deuteranopia (green-blind)
#A39448
Tritanopia (blue-blind)
#81998C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7da042;
/* rgb */ color: rgb(125, 160, 66);
/* oklch */ color: oklch(65.9% 0.129 126.8);
Tailwind
colors: {
  custom: {
    50: '#a5bc7a',
    500: '#7da042',
    950: '#000000',
  },
}
SCSS
$custom: #7da042;
$custom-light: #a5bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7da042",
  "rgb": {
    "r": 125,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 82.34,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.65929,
    "c": 0.12871,
    "h": 126.8
  },
  "luminance": 0.29895
}

Semantic roles & 50–950 ramp

primary
#7DA042
secondary
#9883BB
accent
#56D184
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7DA042

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

Preview Lab → · Contrast checker → · Palette generator →

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