#4B981F#4B981F

#4B981F is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.7% C 0.169 H 137.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4B981F
RGBrgb(75, 152, 31)
HSLhsl(98, 66%, 36%)
HSVhsv(98, 80%, 60%)
CMYKcmyk(50.7%, 0%, 79.6%, 40.4%)
CIE-LABlab(56.14, -44.53, 51.90)
CIE-LCHlch(56.14, 68.39, 130.63°)
OKLaboklab(60.71% -0.1237 0.1153)
OKLCHoklch(60.71% 0.169 137)
XYZxyz(14.3768, 24.0502, 5.1806)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B981F #6C1F98
analogous
#87981F #4B981F #1F9830
triadic
#4B981F #1F4B98 #981F4B
tetradic
#4B981F #1F8798 #6C1F98 #98301F
square
#4B981F #1F8798 #6C1F98 #98301F
split-complementary
#4B981F #301F98 #981F87
monochromatic
#19320A #326515 #4B981F #64CB29 #86DC55

Accessibility & contrast

On white

3.61
#4B981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4B981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B981F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B981F#FFFFFF#000000##000000
##4B981F1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#469282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4b981f;
/* rgb */ color: rgb(75, 152, 31);
/* oklch */ color: oklch(60.7% 0.169 137.0);
Tailwind
colors: {
  custom: {
    50: '#85b765',
    500: '#4b981f',
    950: '#000000',
  },
}
SCSS
$custom: #4b981f;
$custom-light: #85b765;
$custom-dark: #000000;
JSON
{
  "hex": "#4b981f",
  "rgb": {
    "r": 75,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 98.182,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.16914,
    "h": 137
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

primary
#4B981F
secondary
#9853C0
accent
#3FE9AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B981F

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

Preview Lab → · Contrast checker → · Palette generator →

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