#4A7E11#4A7E11

#4A7E11 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.144 H 133.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4A7E11
RGBrgb(74, 126, 17)
HSLhsl(89, 76%, 28%)
HSVhsv(89, 87%, 49%)
CMYKcmyk(41.3%, 0%, 86.5%, 50.6%)
CIE-LABlab(47.52, -34.74, 48.10)
CIE-LCHlch(47.52, 59.34, 125.84°)
OKLaboklab(53.6% -0.0982 0.1052)
OKLCHoklch(53.6% 0.144 133)
XYZxyz(10.3859, 16.4175, 3.1519)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E11 #45117E
analogous
#7E7B11 #4A7E11 #137E11
triadic
#4A7E11 #114A7E #7E114A
tetradic
#4A7E11 #117E7B #45117E #7E1113
square
#4A7E11 #117E7B #45117E #7E1113
split-complementary
#4A7E11 #11137E #7B117E
monochromatic
#101B04 #2A480A #4A7E11 #6AB418 #89E227

Accessibility & contrast

On white

4.90
#4A7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4A7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7E11
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7E11#FFFFFF#000000##FFFFFF
##4A7E111.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#4A796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e11;
/* rgb */ color: rgb(74, 126, 17);
/* oklch */ color: oklch(53.6% 0.144 133.0);
Tailwind
colors: {
  custom: {
    50: '#82a45b',
    500: '#4a7e11',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e11;
$custom-light: #82a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e11",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 88.624,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.14392,
    "h": 133
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#4A7E11
secondary
#7337B4
accent
#35F390
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4A7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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