#4A781C#4A781C

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

Color values

HEX#4A781C
RGBrgb(74, 120, 28)
HSLhsl(90, 62%, 29%)
HSVhsv(90, 77%, 47%)
CMYKcmyk(38.3%, 0%, 76.7%, 52.9%)
CIE-LABlab(45.60, -31.44, 42.76)
CIE-LCHlch(45.60, 53.08, 126.33°)
OKLaboklab(52.04% -0.0885 0.0958)
OKLCHoklch(52.04% 0.13 132.8)
XYZxyz(9.7500, 14.9722, 3.4746)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A781C #4A1C78
analogous
#78781C #4A781C #1C781C
triadic
#4A781C #1C4A78 #781C4A
tetradic
#4A781C #1C7878 #4A1C78 #781C1C
square
#4A781C #1C7878 #4A1C78 #781C1C
split-complementary
#4A781C #1C1C78 #781C78
monochromatic
#0F1906 #2B4610 #4A781C #69AA28 #87D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A781C#FFFFFF#000000##FFFFFF
##4A781C1.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)
#7D6E0A
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#4B7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4a781c;
/* rgb */ color: rgb(74, 120, 28);
/* oklch */ color: oklch(52.0% 0.130 132.8);
Tailwind
colors: {
  custom: {
    50: '#819f5f',
    500: '#4a781c',
    950: '#000000',
  },
}
SCSS
$custom: #4a781c;
$custom-light: #819f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a781c",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.13043,
    "h": 132.8
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#4A781C
secondary
#7844AC
accent
#43E594
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A781C

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

Preview Lab → · Contrast checker → · Palette generator →

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