#4A781B#4A781B

#4A781B is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.0% C 0.131 H 132.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4A781B
RGBrgb(74, 120, 27)
HSLhsl(90, 63%, 29%)
HSVhsv(90, 78%, 47%)
CMYKcmyk(38.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(45.59, -31.51, 43.13)
CIE-LCHlch(45.59, 53.41, 126.15°)
OKLaboklab(52.04% -0.0888 0.0964)
OKLCHoklch(52.04% 0.131 132.7)
XYZxyz(9.7382, 14.9675, 3.4126)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A781B #491B78
analogous
#78781B #4A781B #1C781B
triadic
#4A781B #1B4A78 #781B4A
tetradic
#4A781B #1B7878 #491B78 #781B1C
square
#4A781B #1B7878 #491B78 #781B1C
split-complementary
#4A781B #1B1C78 #781B78
monochromatic
#0F1906 #2B4610 #4A781B #69AA26 #88D33B

Accessibility & contrast

On white

5.26
#4A781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4A781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A781B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A781B#FFFFFF#000000##FFFFFF
##4A781B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#4B7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a781b;
/* rgb */ color: rgb(74, 120, 27);
/* oklch */ color: oklch(52.0% 0.131 132.7);
Tailwind
colors: {
  custom: {
    50: '#819f5f',
    500: '#4a781b',
    950: '#000000',
  },
}
SCSS
$custom: #4a781b;
$custom-light: #819f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a781b",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 89.677,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52037,
    "c": 0.13105,
    "h": 132.7
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#4A781B
secondary
#7743AC
accent
#41E693
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A781B

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

Preview Lab → · Contrast checker → · Palette generator →

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