#4B781E#4B781E

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

Color values

HEX#4B781E
RGBrgb(75, 120, 30)
HSLhsl(90, 60%, 29%)
HSVhsv(90, 75%, 47%)
CMYKcmyk(37.5%, 0%, 75%, 52.9%)
CIE-LABlab(45.66, -30.92, 42.08)
CIE-LCHlch(45.66, 52.22, 126.31°)
OKLaboklab(52.12% -0.087 0.0946)
OKLCHoklch(52.12% 0.129 132.6)
XYZxyz(9.8523, 15.0221, 3.6085)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B781E #4B1E78
analogous
#78781E #4B781E #1E781E
triadic
#4B781E #1E4B78 #781E4B
tetradic
#4B781E #1E7878 #4B1E78 #781E1E
square
#4B781E #1E7878 #4B1E78 #781E1E
split-complementary
#4B781E #1E1E78 #781E78
monochromatic
#0F1806 #2C4712 #4B781E #6AA92A #88CF41

Accessibility & contrast

On white

5.24
#4B781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B781E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B781E#FFFFFF#000000##FFFFFF
##4B781E1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b781e;
/* rgb */ color: rgb(75, 120, 30);
/* oklch */ color: oklch(52.1% 0.129 132.6);
Tailwind
colors: {
  custom: {
    50: '#819f60',
    500: '#4b781e',
    950: '#000000',
  },
}
SCSS
$custom: #4b781e;
$custom-light: #819f60;
$custom-dark: #000000;
JSON
{
  "hex": "#4b781e",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.12858,
    "h": 132.6
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#4B781E
secondary
#7946AC
accent
#45E394
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B781E

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

Preview Lab → · Contrast checker → · Palette generator →

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