#4A981B#4A981B

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

Color values

HEX#4A981B
RGBrgb(74, 152, 27)
HSLhsl(97, 70%, 35%)
HSVhsv(97, 82%, 60%)
CMYKcmyk(51.3%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.08, -45.06, 53.05)
CIE-LCHlch(56.08, 69.61, 130.34°)
OKLaboklab(60.64% -0.1253 0.1172)
OKLCHoklch(60.64% 0.172 136.9)
XYZxyz(14.2497, 23.9904, 4.9164)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A981B #691B98
analogous
#88981B #4A981B #1B982B
triadic
#4A981B #1B4A98 #981B4A
tetradic
#4A981B #1B8898 #691B98 #982B1B
square
#4A981B #1B8898 #691B98 #982B1B
split-complementary
#4A981B #2B1B98 #981B88
monochromatic
#173009 #316412 #4A981B #63CC24 #85E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A981B#FFFFFF#000000##000000
##4A981B1.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)
#93842A
Tritanopia (blue-blind)
#459281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a981b;
/* rgb */ color: rgb(74, 152, 27);
/* oklch */ color: oklch(60.6% 0.172 136.9);
Tailwind
colors: {
  custom: {
    50: '#85b763',
    500: '#4a981b',
    950: '#000000',
  },
}
SCSS
$custom: #4a981b;
$custom-light: #85b763;
$custom-dark: #000000;
JSON
{
  "hex": "#4a981b",
  "rgb": {
    "r": 74,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 97.44,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.17155,
    "h": 136.9
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#4A981B
secondary
#964DC2
accent
#3BEDAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A981B

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

Preview Lab → · Contrast checker → · Palette generator →

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