#7DAF31#7DAF31

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

Color values

HEX#7DAF31
RGBrgb(125, 175, 49)
HSLhsl(84, 56%, 44%)
HSVhsv(84, 72%, 69%)
CMYKcmyk(28.6%, 0%, 72%, 31.4%)
CIE-LABlab(65.94, -35.65, 56.04)
CIE-LCHlch(65.94, 66.42, 122.46°)
OKLaboklab(69.43% -0.1016 0.1258)
OKLCHoklch(69.43% 0.162 128.9)
XYZxyz(24.3417, 35.2410, 8.4249)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAF31 #6331AF
analogous
#AFA231 #7DAF31 #3EAF31
triadic
#7DAF31 #317DAF #AF317D
tetradic
#7DAF31 #31AFA2 #6331AF #AF313E
square
#7DAF31 #31AFA2 #6331AF #AF313E
split-complementary
#7DAF31 #313EAF #A231AF
monochromatic
#394F16 #5B7F24 #7DAF31 #9CCE4F #B7DB7F

Accessibility & contrast

On white

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

On black

8.05
#7DAF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAF31
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAF31#FFFFFF#000000##000000
##7DAF311.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7daf31;
/* rgb */ color: rgb(125, 175, 49);
/* oklch */ color: oklch(69.4% 0.162 128.9);
Tailwind
colors: {
  custom: {
    50: '#a7c771',
    500: '#7daf31',
    950: '#000000',
  },
}
SCSS
$custom: #7daf31;
$custom-light: #a7c771;
$custom-dark: #000000;
JSON
{
  "hex": "#7daf31",
  "rgb": {
    "r": 125,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 83.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69428,
    "c": 0.16173,
    "h": 128.9
  },
  "luminance": 0.35242
}

Semantic roles & 50–950 ramp

primary
#7DAF31
secondary
#9678C4
accent
#48E084
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DAF31

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

Preview Lab → · Contrast checker → · Palette generator →

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