#4A7D15#4A7D15

#4A7D15 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.141 H 133.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4A7D15
RGBrgb(74, 125, 21)
HSLhsl(89, 71%, 29%)
HSVhsv(89, 83%, 49%)
CMYKcmyk(40.8%, 0%, 83.2%, 51%)
CIE-LABlab(47.21, -34.11, 46.69)
CIE-LCHlch(47.21, 57.82, 126.16°)
OKLaboklab(53.35% -0.0963 0.1029)
OKLCHoklch(53.35% 0.141 133.1)
XYZxyz(10.2929, 16.1767, 3.2894)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D15 #48157D
analogous
#7D7C15 #4A7D15 #167D15
triadic
#4A7D15 #154A7D #7D154A
tetradic
#4A7D15 #157D7C #48157D #7D1516
square
#4A7D15 #157D7C #48157D #7D1516
split-complementary
#4A7D15 #15167D #7C157D
monochromatic
#101A04 #2B490C #4A7D15 #69B11E #88DC30

Accessibility & contrast

On white

4.96
#4A7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D15
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D15#FFFFFF#000000##FFFFFF
##4A7D151.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d15;
/* rgb */ color: rgb(74, 125, 21);
/* oklch */ color: oklch(53.3% 0.141 133.1);
Tailwind
colors: {
  custom: {
    50: '#82a35d',
    500: '#4a7d15',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d15;
$custom-light: #82a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d15",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 89.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53347,
    "c": 0.14087,
    "h": 133.1
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#4A7D15
secondary
#763CB2
accent
#3AEE92
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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