#4A841B#4A841B

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

Color values

HEX#4A841B
RGBrgb(74, 132, 27)
HSLhsl(93, 66%, 31%)
HSVhsv(93, 80%, 52%)
CMYKcmyk(43.9%, 0%, 79.5%, 48.2%)
CIE-LABlab(49.54, -36.84, 46.94)
CIE-LCHlch(49.54, 59.67, 128.13°)
OKLaboklab(55.27% -0.1032 0.1043)
OKLCHoklch(55.27% 0.147 134.7)
XYZxyz(11.2729, 18.0369, 3.9242)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A841B #551B84
analogous
#7E841B #4A841B #1B8420
triadic
#4A841B #1B4A84 #841B4A
tetradic
#4A841B #1B7E84 #551B84 #84201B
square
#4A841B #1B7E84 #551B84 #84201B
split-complementary
#4A841B #201B84 #841B7E
monochromatic
#111E06 #2E5111 #4A841B #66B725 #85D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A841B#FFFFFF#000000##000000
##4A841B1.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)
#897901
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#497F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4a841b;
/* rgb */ color: rgb(74, 132, 27);
/* oklch */ color: oklch(55.3% 0.147 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a860',
    500: '#4a841b',
    950: '#000000',
  },
}
SCSS
$custom: #4a841b;
$custom-light: #82a860;
$custom-dark: #000000;
JSON
{
  "hex": "#4a841b",
  "rgb": {
    "r": 74,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 93.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55271,
    "c": 0.14676,
    "h": 134.7
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#4A841B
secondary
#8343B7
accent
#3FE99D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A841B

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

Preview Lab → · Contrast checker → · Palette generator →

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