#74971F#74971F

#74971F is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.8% C 0.147 H 125.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#74971F
RGBrgb(116, 151, 31)
HSLhsl(78, 66%, 36%)
HSVhsv(78, 79%, 59%)
CMYKcmyk(23.2%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.98, -29.05, 54.41)
CIE-LCHlch(57.98, 61.67, 118.10°)
OKLaboklab(62.8% -0.0845 0.1197)
OKLCHoklch(62.8% 0.147 125.2)
XYZxyz(18.5165, 25.9449, 5.3284)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74971F #421F97
analogous
#977E1F #74971F #38971F
triadic
#74971F #1F7497 #971F74
tetradic
#74971F #1F977E #421F97 #971F38
square
#74971F #1F977E #421F97 #971F38
split-complementary
#74971F #1F3897 #7E1F97
monochromatic
#26310A #4D6415 #74971F #9BCA29 #B4DC54

Accessibility & contrast

On white

3.39
#74971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#74971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #74971F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74971F#FFFFFF#000000##000000
##74971F1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#7A8F81
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #74971f;
/* rgb */ color: rgb(116, 151, 31);
/* oklch */ color: oklch(62.8% 0.147 125.2);
Tailwind
colors: {
  custom: {
    50: '#a0b566',
    500: '#74971f',
    950: '#000000',
  },
}
SCSS
$custom: #74971f;
$custom-light: #a0b566;
$custom-dark: #000000;
JSON
{
  "hex": "#74971f",
  "rgb": {
    "r": 116,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 77.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62796,
    "c": 0.14652,
    "h": 125.2
  },
  "luminance": 0.25945
}

Semantic roles & 50–950 ramp

primary
#74971F
secondary
#7252BF
accent
#3FE970
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #74971F

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

Preview Lab → · Contrast checker → · Palette generator →

#74971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva