#4B781D#4B781D

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

Color values

HEX#4B781D
RGBrgb(75, 120, 29)
HSLhsl(90, 61%, 29%)
HSVhsv(90, 76%, 47%)
CMYKcmyk(37.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.66, -30.99, 42.46)
CIE-LCHlch(45.66, 52.57, 126.12°)
OKLaboklab(52.11% -0.0873 0.0953)
OKLCHoklch(52.11% 0.129 132.5)
XYZxyz(9.8398, 15.0171, 3.5423)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B781D #4A1D78
analogous
#78781D #4B781D #1E781D
triadic
#4B781D #1D4B78 #781D4B
tetradic
#4B781D #1D7878 #4A1D78 #781D1E
square
#4B781D #1D7878 #4A1D78 #781D1E
split-complementary
#4B781D #1D1E78 #781D78
monochromatic
#0F1906 #2C4711 #4B781D #6AA929 #89D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B781D#FFFFFF#000000##FFFFFF
##4B781D1.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)
#7D6E0C
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#4C7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b781d;
/* rgb */ color: rgb(75, 120, 29);
/* oklch */ color: oklch(52.1% 0.129 132.5);
Tailwind
colors: {
  custom: {
    50: '#819f60',
    500: '#4b781d',
    950: '#000000',
  },
}
SCSS
$custom: #4b781d;
$custom-light: #819f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b781d",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 89.67,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.12923,
    "h": 132.5
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#4B781D
secondary
#7845AC
accent
#44E493
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B781D

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

Preview Lab → · Contrast checker → · Palette generator →

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