#7DAF28#7DAF28

#7DAF28 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.167 H 128.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7DAF28
RGBrgb(125, 175, 40)
HSLhsl(82, 63%, 42%)
HSVhsv(82, 77%, 69%)
CMYKcmyk(28.6%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.88, -36.17, 59.11)
CIE-LCHlch(65.88, 69.30, 121.46°)
OKLaboklab(69.37% -0.1037 0.1309)
OKLCHoklch(69.37% 0.167 128.4)
XYZxyz(24.1704, 35.1725, 7.5226)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAF28 #5A28AF
analogous
#AF9E28 #7DAF28 #3AAF28
triadic
#7DAF28 #287DAF #AF287D
tetradic
#7DAF28 #28AF9E #5A28AF #AF283A
square
#7DAF28 #28AF9E #5A28AF #AF283A
split-complementary
#7DAF28 #283AAF #9E28AF
monochromatic
#364B11 #597D1D #7DAF28 #9DD441 #B7DF73

Accessibility & contrast

On white

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

On black

8.03
#7DAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAF28
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAF28#FFFFFF#000000##000000
##7DAF281.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A203
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#81A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7daf28;
/* rgb */ color: rgb(125, 175, 40);
/* oklch */ color: oklch(69.4% 0.167 128.4);
Tailwind
colors: {
  custom: {
    50: '#a7c76d',
    500: '#7daf28',
    950: '#000000',
  },
}
SCSS
$custom: #7daf28;
$custom-light: #a7c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7daf28",
  "rgb": {
    "r": 125,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 82.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69368,
    "c": 0.16697,
    "h": 128.4
  },
  "luminance": 0.35173
}

Semantic roles & 50–950 ramp

primary
#7DAF28
secondary
#8E6DC6
accent
#42E67F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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