#4B781A#4B781A

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

Color values

HEX#4B781A
RGBrgb(75, 120, 26)
HSLhsl(89, 64%, 29%)
HSVhsv(89, 78%, 47%)
CMYKcmyk(37.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(45.64, -31.19, 43.56)
CIE-LCHlch(45.64, 53.58, 125.60°)
OKLaboklab(52.09% -0.0881 0.0971)
OKLCHoklch(52.09% 0.131 132.2)
XYZxyz(9.8045, 15.0030, 3.3564)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B781A #471A78
analogous
#78761A #4B781A #1C781A
triadic
#4B781A #1A4B78 #781A4B
tetradic
#4B781A #1A7876 #471A78 #781A1C
square
#4B781A #1A7876 #471A78 #781A1C
split-complementary
#4B781A #1A1C78 #761A78
monochromatic
#101905 #2C460F #4B781A #6AAA25 #8AD438

Accessibility & contrast

On white

5.25
#4B781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4B781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B781A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B781A#FFFFFF#000000##FFFFFF
##4B781A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b781a;
/* rgb */ color: rgb(75, 120, 26);
/* oklch */ color: oklch(52.1% 0.131 132.2);
Tailwind
colors: {
  custom: {
    50: '#829f5e',
    500: '#4b781a',
    950: '#000000',
  },
}
SCSS
$custom: #4b781a;
$custom-light: #829f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b781a",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 88.723,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.1311,
    "h": 132.2
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#4B781A
secondary
#7541AC
accent
#40E790
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B781A

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

Preview Lab → · Contrast checker → · Palette generator →

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