#4B781B#4B781B

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

Color values

HEX#4B781B
RGBrgb(75, 120, 27)
HSLhsl(89, 63%, 29%)
HSVhsv(89, 78%, 47%)
CMYKcmyk(37.5%, 0%, 77.5%, 52.9%)
CIE-LABlab(45.64, -31.12, 43.20)
CIE-LCHlch(45.64, 53.25, 125.77°)
OKLaboklab(52.1% -0.0878 0.0965)
OKLCHoklch(52.1% 0.131 132.3)
XYZxyz(9.8158, 15.0075, 3.4162)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B781B #481B78
analogous
#78771B #4B781B #1D781B
triadic
#4B781B #1B4B78 #781B4B
tetradic
#4B781B #1B7877 #481B78 #781B1D
square
#4B781B #1B7877 #481B78 #781B1D
split-complementary
#4B781B #1B1D78 #771B78
monochromatic
#101906 #2C4610 #4B781B #6AAA26 #89D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B781B#FFFFFF#000000##FFFFFF
##4B781B1.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)
#7D6E07
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#4C7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b781b;
/* rgb */ color: rgb(75, 120, 27);
/* oklch */ color: oklch(52.1% 0.131 132.3);
Tailwind
colors: {
  custom: {
    50: '#819f5f',
    500: '#4b781b',
    950: '#000000',
  },
}
SCSS
$custom: #4b781b;
$custom-light: #819f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b781b",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 89.032,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.1305,
    "h": 132.3
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#4B781B
secondary
#7643AC
accent
#41E691
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B781B

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

Preview Lab → · Contrast checker → · Palette generator →

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