#74A51F#74A51F

#74A51F is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.3% C 0.164 H 128.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#74A51F
RGBrgb(116, 165, 31)
HSLhsl(82, 68%, 38%)
HSVhsv(82, 81%, 65%)
CMYKcmyk(29.7%, 0%, 81.2%, 35.3%)
CIE-LABlab(62.27, -35.56, 58.32)
CIE-LCHlch(62.27, 68.31, 121.38°)
OKLaboklab(66.28% -0.1022 0.128)
OKLCHoklch(66.28% 0.164 128.6)
XYZxyz(20.9049, 30.7216, 6.1245)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74A51F #501FA5
analogous
#A5931F #74A51F #31A51F
triadic
#74A51F #1F74A5 #A51F74
tetradic
#74A51F #1FA593 #501FA5 #A51F31
square
#74A51F #1FA593 #501FA5 #A51F31
split-complementary
#74A51F #1F31A5 #931FA5
monochromatic
#2C3E0C #507115 #74A51F #98D72A #B1E15E

Accessibility & contrast

On white

2.94
#74A51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#74A51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #74A51F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74A51F#FFFFFF#000000##000000
##74A51F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A7952E
Tritanopia (blue-blind)
#789D8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #74a51f;
/* rgb */ color: rgb(116, 165, 31);
/* oklch */ color: oklch(66.3% 0.164 128.6);
Tailwind
colors: {
  custom: {
    50: '#a1c068',
    500: '#74a51f',
    950: '#000000',
  },
}
SCSS
$custom: #74a51f;
$custom-light: #a1c068;
$custom-dark: #000000;
JSON
{
  "hex": "#74a51f",
  "rgb": {
    "r": 116,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 81.94,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66278,
    "c": 0.16375,
    "h": 128.6
  },
  "luminance": 0.30722
}

Semantic roles & 50–950 ramp

primary
#74A51F
secondary
#825BC5
accent
#3DEB7C
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #74A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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