#74AF31#74AF31

#74AF31 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.9% C 0.166 H 131.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#74AF31
RGBrgb(116, 175, 49)
HSLhsl(88, 56%, 44%)
HSVhsv(88, 72%, 69%)
CMYKcmyk(33.7%, 0%, 72%, 31.4%)
CIE-LABlab(65.43, -39.03, 55.37)
CIE-LCHlch(65.43, 67.74, 125.18°)
OKLaboklab(68.88% -0.1103 0.1246)
OKLCHoklch(68.88% 0.166 131.5)
XYZxyz(23.0866, 34.5938, 8.3660)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74AF31 #6C31AF
analogous
#AFAB31 #74AF31 #35AF31
triadic
#74AF31 #3174AF #AF3174
tetradic
#74AF31 #31AFAB #6C31AF #AF3135
square
#74AF31 #31AFAB #6C31AF #AF3135
split-complementary
#74AF31 #3135AF #AB31AF
monochromatic
#354F16 #547F24 #74AF31 #93CE4F #B0DB7F

Accessibility & contrast

On white

2.65
#74AF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#74AF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #74AF31
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74AF31#FFFFFF#000000##000000
##74AF311.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#AF9D3D
Tritanopia (blue-blind)
#76A896
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #74af31;
/* rgb */ color: rgb(116, 175, 49);
/* oklch */ color: oklch(68.9% 0.166 131.5);
Tailwind
colors: {
  custom: {
    50: '#a1c771',
    500: '#74af31',
    950: '#000000',
  },
}
SCSS
$custom: #74af31;
$custom-light: #a1c771;
$custom-dark: #000000;
JSON
{
  "hex": "#74af31",
  "rgb": {
    "r": 116,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 88.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68883,
    "c": 0.16637,
    "h": 131.5
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#74AF31
secondary
#9B78C4
accent
#48E08F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #74AF31

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

Preview Lab → · Contrast checker → · Palette generator →

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