#4A981F#4A981F

#4A981F is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.7% C 0.170 H 137.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A981F
RGBrgb(74, 152, 31)
HSLhsl(99, 66%, 36%)
HSVhsv(99, 80%, 60%)
CMYKcmyk(51.3%, 0%, 79.6%, 40.4%)
CIE-LABlab(56.10, -44.84, 51.85)
CIE-LCHlch(56.10, 68.55, 130.85°)
OKLaboklab(60.67% -0.1245 0.1152)
OKLCHoklch(60.67% 0.17 137.2)
XYZxyz(14.2991, 24.0102, 5.1770)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A981F #6D1F98
analogous
#86981F #4A981F #1F9831
triadic
#4A981F #1F4A98 #981F4A
tetradic
#4A981F #1F8698 #6D1F98 #98311F
square
#4A981F #1F8698 #6D1F98 #98311F
split-complementary
#4A981F #311F98 #981F86
monochromatic
#19320A #316515 #4A981F #63CB29 #85DC55

Accessibility & contrast

On white

3.62
#4A981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#4A981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A981F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A981F#FFFFFF#000000##000000
##4A981F1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#459282
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a981f;
/* rgb */ color: rgb(74, 152, 31);
/* oklch */ color: oklch(60.7% 0.170 137.2);
Tailwind
colors: {
  custom: {
    50: '#85b765',
    500: '#4a981f',
    950: '#000000',
  },
}
SCSS
$custom: #4a981f;
$custom-light: #85b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4a981f",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 98.678,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.16963,
    "h": 137.2
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#4A981F
secondary
#9953C0
accent
#3FE9AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A981F

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

Preview Lab → · Contrast checker → · Palette generator →

#4A981F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva