#4B981B#4B981B

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

Color values

HEX#4B981B
RGBrgb(75, 152, 27)
HSLhsl(97, 70%, 35%)
HSVhsv(97, 82%, 60%)
CMYKcmyk(50.7%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.12, -44.75, 53.11)
CIE-LCHlch(56.12, 69.45, 130.12°)
OKLaboklab(60.69% -0.1245 0.1173)
OKLCHoklch(60.69% 0.171 136.7)
XYZxyz(14.3273, 24.0304, 4.9201)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B981B #681B98
analogous
#89981B #4B981B #1B982A
triadic
#4B981B #1B4B98 #981B4B
tetradic
#4B981B #1B8998 #681B98 #982A1B
square
#4B981B #1B8998 #681B98 #982A1B
split-complementary
#4B981B #2A1B98 #981B89
monochromatic
#183009 #316412 #4B981B #65CC24 #86E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B981B#FFFFFF#000000##000000
##4B981B1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b981b;
/* rgb */ color: rgb(75, 152, 27);
/* oklch */ color: oklch(60.7% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#85b763',
    500: '#4b981b',
    950: '#000000',
  },
}
SCSS
$custom: #4b981b;
$custom-light: #85b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4b981b",
  "rgb": {
    "r": 75,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 96.96,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.17106,
    "h": 136.7
  },
  "luminance": 0.24031
}

Semantic roles & 50–950 ramp

primary
#4B981B
secondary
#954DC2
accent
#3BEDA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B981B

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

Preview Lab → · Contrast checker → · Palette generator →

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