#4A7515#4A7515

#4A7515 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.131 H 131.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A7515
RGBrgb(74, 117, 21)
HSLhsl(87, 70%, 27%)
HSVhsv(87, 82%, 46%)
CMYKcmyk(36.8%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.56, -30.48, 44.25)
CIE-LCHlch(44.56, 53.73, 124.56°)
OKLaboklab(51.19% -0.0865 0.0977)
OKLCHoklch(51.19% 0.131 131.5)
XYZxyz(9.3206, 14.2322, 2.9653)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7515 #401575
analogous
#757015 #4A7515 #1A7515
triadic
#4A7515 #154A75 #75154A
tetradic
#4A7515 #157570 #401575 #75151A
square
#4A7515 #157570 #401575 #75151A
split-complementary
#4A7515 #151A75 #701575
monochromatic
#101A05 #29410C #4A7515 #6BA91E #8BD92B

Accessibility & contrast

On white

5.46
#4A7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7515
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7515#FFFFFF#000000##FFFFFF
##4A75151.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#4B7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7515;
/* rgb */ color: rgb(74, 117, 21);
/* oklch */ color: oklch(51.2% 0.131 131.5);
Tailwind
colors: {
  custom: {
    50: '#819d5c',
    500: '#4a7515',
    950: '#000000',
  },
}
SCSS
$custom: #4a7515;
$custom-light: #819d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7515",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 86.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.1305,
    "h": 131.5
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#4A7515
secondary
#6D3BAB
accent
#3BEC8B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7515

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

Preview Lab → · Contrast checker → · Palette generator →

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