#4A7E15#4A7E15

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

Color values

HEX#4A7E15
RGBrgb(74, 126, 21)
HSLhsl(90, 71%, 29%)
HSVhsv(90, 83%, 49%)
CMYKcmyk(41.3%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.54, -34.56, 46.99)
CIE-LCHlch(47.54, 58.33, 126.33°)
OKLaboklab(53.62% -0.0974 0.1035)
OKLCHoklch(53.62% 0.142 133.3)
XYZxyz(10.4201, 16.4312, 3.3318)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7E15 #49157E
analogous
#7E7E15 #4A7E15 #167E15
triadic
#4A7E15 #154A7E #7E154A
tetradic
#4A7E15 #157E7E #49157E #7E1516
square
#4A7E15 #157E7E #49157E #7E1516
split-complementary
#4A7E15 #15167E #7E157E
monochromatic
#0F1A04 #2B4A0C #4A7E15 #69B21E #88DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7E15#FFFFFF#000000##FFFFFF
##4A7E151.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)
#7C6F21
Tritanopia (blue-blind)
#4A796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4a7e15;
/* rgb */ color: rgb(74, 126, 21);
/* oklch */ color: oklch(53.6% 0.142 133.3);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4a7e15',
    950: '#000000',
  },
}
SCSS
$custom: #4a7e15;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7e15",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 89.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.14215,
    "h": 133.3
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#4A7E15
secondary
#773CB3
accent
#3AEE93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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