#74AF28#74AF28

#74AF28 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.8% C 0.172 H 130.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#74AF28
RGBrgb(116, 175, 40)
HSLhsl(86, 63%, 42%)
HSVhsv(86, 77%, 69%)
CMYKcmyk(33.7%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.38, -39.57, 58.45)
CIE-LCHlch(65.38, 70.59, 124.10°)
OKLaboklab(68.82% -0.1124 0.1297)
OKLCHoklch(68.82% 0.172 130.9)
XYZxyz(22.9153, 34.5253, 7.4638)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74AF28 #6328AF
analogous
#AFA728 #74AF28 #31AF28
triadic
#74AF28 #2874AF #AF2874
tetradic
#74AF28 #28AFA7 #6328AF #AF2831
square
#74AF28 #28AFA7 #6328AF #AF2831
split-complementary
#74AF28 #2831AF #A728AF
monochromatic
#324B11 #537D1D #74AF28 #93D441 #B0DF73

Accessibility & contrast

On white

2.66
#74AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#74AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #74AF28
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74AF28#FFFFFF#000000##000000
##74AF281.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A203
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#76A796
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #74af28;
/* rgb */ color: rgb(116, 175, 40);
/* oklch */ color: oklch(68.8% 0.172 130.9);
Tailwind
colors: {
  custom: {
    50: '#a1c76d',
    500: '#74af28',
    950: '#000000',
  },
}
SCSS
$custom: #74af28;
$custom-light: #a1c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#74af28",
  "rgb": {
    "r": 116,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 86.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.1716,
    "h": 130.9
  },
  "luminance": 0.34526
}

Semantic roles & 50–950 ramp

primary
#74AF28
secondary
#946DC6
accent
#42E68A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #74AF28

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

Preview Lab → · Contrast checker → · Palette generator →

#74AF28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva