#7DAF38#7DAF38

#7DAF38 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.157 H 129.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7DAF38
RGBrgb(125, 175, 56)
HSLhsl(85, 52%, 45%)
HSVhsv(85, 68%, 69%)
CMYKcmyk(28.6%, 0%, 68%, 31.4%)
CIE-LABlab(65.99, -35.17, 53.39)
CIE-LCHlch(65.99, 63.93, 123.38°)
OKLaboklab(69.48% -0.0997 0.1213)
OKLCHoklch(69.48% 0.157 129.4)
XYZxyz(24.5011, 35.3048, 9.2642)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAF38 #6A38AF
analogous
#AFA538 #7DAF38 #42AF38
triadic
#7DAF38 #387DAF #AF387D
tetradic
#7DAF38 #38AFA5 #6A38AF #AF3842
square
#7DAF38 #38AFA5 #6A38AF #AF3842
split-complementary
#7DAF38 #3842AF #A538AF
monochromatic
#3B521A #5C8129 #7DAF38 #9BCA5A #B7D988

Accessibility & contrast

On white

2.61
#7DAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7DAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAF38
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAF38#FFFFFF#000000##000000
##7DAF381.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#B09F42
Tritanopia (blue-blind)
#80A797
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7daf38;
/* rgb */ color: rgb(125, 175, 56);
/* oklch */ color: oklch(69.5% 0.157 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c775',
    500: '#7daf38',
    950: '#000000',
  },
}
SCSS
$custom: #7daf38;
$custom-light: #a6c775;
$custom-dark: #000000;
JSON
{
  "hex": "#7daf38",
  "rgb": {
    "r": 125,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 85.21,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69484,
    "c": 0.15701,
    "h": 129.4
  },
  "luminance": 0.35305
}

Semantic roles & 50–950 ramp

primary
#7DAF38
secondary
#9C80C3
accent
#4DDB89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7DAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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