#74A81F#74A81F

#74A81F is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.0% C 0.167 H 129.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#74A81F
RGBrgb(116, 168, 31)
HSLhsl(83, 69%, 39%)
HSVhsv(83, 82%, 66%)
CMYKcmyk(31%, 0%, 81.5%, 34.1%)
CIE-LABlab(63.19, -36.91, 59.15)
CIE-LCHlch(63.19, 69.73, 121.97°)
OKLaboklab(67.03% -0.1058 0.1297)
OKLCHoklch(67.03% 0.167 129.2)
XYZxyz(21.4524, 31.8166, 6.3070)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#74A81F #531FA8
analogous
#A8981F #74A81F #30A81F
triadic
#74A81F #1F74A8 #A81F74
tetradic
#74A81F #1FA898 #531FA8 #A81F30
square
#74A81F #1FA898 #531FA8 #A81F30
split-complementary
#74A81F #1F30A8 #981FA8
monochromatic
#2D410C #507415 #74A81F #97D82C #B0E260

Accessibility & contrast

On white

2.85
#74A81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#74A81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #74A81F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##74A81F#FFFFFF#000000##000000
##74A81F1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A9982F
Tritanopia (blue-blind)
#78A08F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #74a81f;
/* rgb */ color: rgb(116, 168, 31);
/* oklch */ color: oklch(67.0% 0.167 129.2);
Tailwind
colors: {
  custom: {
    50: '#a1c268',
    500: '#74a81f',
    950: '#000000',
  },
}
SCSS
$custom: #74a81f;
$custom-light: #a1c268;
$custom-dark: #000000;
JSON
{
  "hex": "#74a81f",
  "rgb": {
    "r": 116,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 82.774,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.16741,
    "h": 129.2
  },
  "luminance": 0.31817
}

Semantic roles & 50–950 ramp

primary
#74A81F
secondary
#855DC6
accent
#3CEC7F
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #74A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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