#7DAF2C#7DAF2C

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

Color values

HEX#7DAF2C
RGBrgb(125, 175, 44)
HSLhsl(83, 60%, 43%)
HSVhsv(83, 75%, 69%)
CMYKcmyk(28.6%, 0%, 74.9%, 31.4%)
CIE-LABlab(65.91, -35.95, 57.80)
CIE-LCHlch(65.91, 68.07, 121.88°)
OKLaboklab(69.39% -0.1028 0.1287)
OKLCHoklch(69.39% 0.165 128.6)
XYZxyz(24.2420, 35.2012, 7.8997)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAF2C #5E2CAF
analogous
#AF9F2C #7DAF2C #3BAF2C
triadic
#7DAF2C #2C7DAF #AF2C7D
tetradic
#7DAF2C #2CAF9F #5E2CAF #AF2C3B
square
#7DAF2C #2CAF9F #5E2CAF #AF2C3B
split-complementary
#7DAF2C #2C3BAF #9F2CAF
monochromatic
#374D13 #5A7E20 #7DAF2C #9CD147 #B7DD78

Accessibility & contrast

On white

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

On black

8.04
#7DAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAF2C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAF2C#FFFFFF#000000##000000
##7DAF2C1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7daf2c;
/* rgb */ color: rgb(125, 175, 44);
/* oklch */ color: oklch(69.4% 0.165 128.6);
Tailwind
colors: {
  custom: {
    50: '#a7c76f',
    500: '#7daf2c',
    950: '#000000',
  },
}
SCSS
$custom: #7daf2c;
$custom-light: #a7c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7daf2c",
  "rgb": {
    "r": 125,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 82.901,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69393,
    "c": 0.16476,
    "h": 128.6
  },
  "luminance": 0.35202
}

Semantic roles & 50–950 ramp

primary
#7DAF2C
secondary
#9272C5
accent
#45E381
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7DAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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