#4A8727#4A8727

#4A8727 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.143 H 136.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4A8727
RGBrgb(74, 135, 39)
HSLhsl(98, 55%, 34%)
HSVhsv(98, 71%, 53%)
CMYKcmyk(45.2%, 0%, 71.1%, 47.1%)
CIE-LABlab(50.60, -37.28, 43.46)
CIE-LCHlch(50.60, 57.26, 130.62°)
OKLaboklab(56.17% -0.1035 0.0989)
OKLCHoklch(56.17% 0.143 136.3)
XYZxyz(11.8539, 18.9296, 4.9482)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8727 #642787
analogous
#7A8727 #4A8727 #278734
triadic
#4A8727 #274A87 #87274A
tetradic
#4A8727 #277A87 #642787 #873427
square
#4A8727 #277A87 #642787 #873427
split-complementary
#4A8727 #342787 #87277A
monochromatic
#16280C #305819 #4A8727 #64B635 #84CF59

Accessibility & contrast

On white

4.39
#4A8727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4A8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8727
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8727#FFFFFF#000000##000000
##4A87271.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#478274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a8727;
/* rgb */ color: rgb(74, 135, 39);
/* oklch */ color: oklch(56.2% 0.143 136.3);
Tailwind
colors: {
  custom: {
    50: '#82aa67',
    500: '#4a8727',
    950: '#000000',
  },
}
SCSS
$custom: #4a8727;
$custom-light: #82aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8727",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 98.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.14316,
    "h": 136.3
  },
  "luminance": 0.1893
}

Semantic roles & 50–950 ramp

primary
#4A8727
secondary
#9256B4
accent
#49DFA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8727

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

Preview Lab → · Contrast checker → · Palette generator →

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