#4A871E#4A871E

#4A871E is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.1% C 0.149 H 135.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A871E
RGBrgb(74, 135, 30)
HSLhsl(95, 64%, 32%)
HSVhsv(95, 78%, 53%)
CMYKcmyk(45.2%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.54, -37.94, 46.86)
CIE-LCHlch(50.54, 60.30, 128.99°)
OKLaboklab(56.1% -0.106 0.1047)
OKLCHoklch(56.1% 0.149 135.4)
XYZxyz(11.7221, 18.8768, 4.2540)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A871E #5B1E87
analogous
#7F871E #4A871E #1E8727
triadic
#4A871E #1E4A87 #871E4A
tetradic
#4A871E #1E7F87 #5B1E87 #87271E
square
#4A871E #1E7F87 #5B1E87 #87271E
split-complementary
#4A871E #271E87 #871E7F
monochromatic
#132308 #2F5513 #4A871E #65B929 #84D749

Accessibility & contrast

On white

4.40
#4A871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4A871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A871E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A871E#FFFFFF#000000##000000
##4A871E1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B06
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#488273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a871e;
/* rgb */ color: rgb(74, 135, 30);
/* oklch */ color: oklch(56.1% 0.149 135.4);
Tailwind
colors: {
  custom: {
    50: '#82aa62',
    500: '#4a871e',
    950: '#000000',
  },
}
SCSS
$custom: #4a871e;
$custom-light: #82aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4a871e",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 94.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.14894,
    "h": 135.4
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#4A871E
secondary
#8A48B9
accent
#41E7A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A871E

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

Preview Lab → · Contrast checker → · Palette generator →

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