#7DAF22#7DAF22

#7DAF22 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.170 H 128.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7DAF22
RGBrgb(125, 175, 34)
HSLhsl(81, 67%, 41%)
HSVhsv(81, 81%, 69%)
CMYKcmyk(28.6%, 0%, 80.6%, 31.4%)
CIE-LABlab(65.85, -36.45, 60.91)
CIE-LCHlch(65.85, 70.98, 120.90°)
OKLaboklab(69.33% -0.1049 0.1337)
OKLCHoklch(69.33% 0.17 128.1)
XYZxyz(24.0762, 35.1348, 7.0263)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAF22 #5422AF
analogous
#AF9A22 #7DAF22 #36AF22
triadic
#7DAF22 #227DAF #AF227D
tetradic
#7DAF22 #22AF9A #5422AF #AF2236
square
#7DAF22 #22AF9A #5422AF #AF2236
split-complementary
#7DAF22 #2236AF #9A22AF
monochromatic
#34490E #587C18 #7DAF22 #9FD836 #B7E269

Accessibility & contrast

On white

2.62
#7DAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7DAF22#FFFFFF#000000##000000
##7DAF221.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#82A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7daf22;
/* rgb */ color: rgb(125, 175, 34);
/* oklch */ color: oklch(69.3% 0.170 128.1);
Tailwind
colors: {
  custom: {
    50: '#a7c76a',
    500: '#7daf22',
    950: '#000000',
  },
}
SCSS
$custom: #7daf22;
$custom-light: #a7c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7daf22",
  "rgb": {
    "r": 125,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 81.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69334,
    "c": 0.16992,
    "h": 128.1
  },
  "luminance": 0.35135
}

Semantic roles & 50–950 ramp

primary
#7DAF22
secondary
#8865C8
accent
#3DEA7B
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7DAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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