#4A841C#4A841C

#4A841C is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.146 H 134.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4A841C
RGBrgb(74, 132, 28)
HSLhsl(93, 65%, 31%)
HSVhsv(93, 79%, 52%)
CMYKcmyk(43.9%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.55, -36.78, 46.60)
CIE-LCHlch(49.55, 59.37, 128.28°)
OKLaboklab(55.28% -0.103 0.1038)
OKLCHoklch(55.28% 0.146 134.8)
XYZxyz(11.2847, 18.0416, 3.9861)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A841C #561C84
analogous
#7E841C #4A841C #1C8422
triadic
#4A841C #1C4A84 #841C4A
tetradic
#4A841C #1C7E84 #561C84 #84221C
square
#4A841C #1C7E84 #561C84 #84221C
split-complementary
#4A841C #221C84 #841C7E
monochromatic
#111F07 #2E5211 #4A841C #66B627 #85D743

Accessibility & contrast

On white

4.56
#4A841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4A841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A841C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A841C#FFFFFF#000000##000000
##4A841C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#497F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4a841c;
/* rgb */ color: rgb(74, 132, 28);
/* oklch */ color: oklch(55.3% 0.146 134.8);
Tailwind
colors: {
  custom: {
    50: '#82a861',
    500: '#4a841c',
    950: '#000000',
  },
}
SCSS
$custom: #4a841c;
$custom-light: #82a861;
$custom-dark: #000000;
JSON
{
  "hex": "#4a841c",
  "rgb": {
    "r": 74,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 93.462,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.14622,
    "h": 134.8
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#4A841C
secondary
#8545B7
accent
#40E89E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A841C

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

Preview Lab → · Contrast checker → · Palette generator →

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