#4A7E18#4A7E18

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

Color values

HEX#4A7E18
RGBrgb(74, 126, 24)
HSLhsl(91, 68%, 29%)
HSVhsv(91, 81%, 49%)
CMYKcmyk(41.3%, 0%, 81%, 50.6%)
CIE-LABlab(47.55, -34.40, 46.06)
CIE-LCHlch(47.55, 57.48, 126.75°)
OKLaboklab(53.64% -0.0968 0.102)
OKLCHoklch(53.64% 0.141 133.5)
XYZxyz(10.4496, 16.4430, 3.4872)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E18 #4C187E
analogous
#7D7E18 #4A7E18 #187E19
triadic
#4A7E18 #184A7E #7E184A
tetradic
#4A7E18 #187D7E #4C187E #7E1918
square
#4A7E18 #187D7E #4C187E #7E1918
split-complementary
#4A7E18 #19187E #7E187D
monochromatic
#0F1A05 #2C4B0E #4A7E18 #68B122 #87D937

Accessibility & contrast

On white

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

On black

4.29
#4A7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A7E18#FFFFFF#000000##FFFFFF
##4A7E181.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a7e18;
/* rgb */ color: rgb(74, 126, 24);
/* oklch */ color: oklch(53.6% 0.141 133.5);
Tailwind
colors: {
  custom: {
    50: '#82a45e',
    500: '#4a7e18',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e18;
$custom-light: #82a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e18",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 90.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53635,
    "c": 0.14066,
    "h": 133.5
  },
  "luminance": 0.16444
}

Semantic roles & 50–950 ramp

primary
#4A7E18
secondary
#7A3FB2
accent
#3DEB96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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