#4A7415#4A7415

#4A7415 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.129 H 131.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4A7415
RGBrgb(74, 116, 21)
HSLhsl(87, 69%, 27%)
HSVhsv(87, 82%, 45%)
CMYKcmyk(36.2%, 0%, 81.9%, 54.5%)
CIE-LABlab(44.23, -30.02, 43.94)
CIE-LCHlch(44.23, 53.21, 124.34°)
OKLaboklab(50.92% -0.0852 0.0971)
OKLCHoklch(50.92% 0.129 131.3)
XYZxyz(9.2047, 14.0004, 2.9267)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7415 #3F1574
analogous
#746F15 #4A7415 #1B7415
triadic
#4A7415 #154A74 #74154A
tetradic
#4A7415 #15746F #3F1574 #74151B
square
#4A7415 #15746F #3F1574 #74151B
split-complementary
#4A7415 #151B74 #6F1574
monochromatic
#111A05 #29400C #4A7415 #6BA81E #8CD92B

Accessibility & contrast

On white

5.53
#4A7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7415
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7415#FFFFFF#000000##FFFFFF
##4A74151.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#74671F
Tritanopia (blue-blind)
#4B6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7415;
/* rgb */ color: rgb(74, 116, 21);
/* oklch */ color: oklch(50.9% 0.129 131.3);
Tailwind
colors: {
  custom: {
    50: '#819c5b',
    500: '#4a7415',
    950: '#000000',
  },
}
SCSS
$custom: #4a7415;
$custom-light: #819c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7415",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 86.526,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.12918,
    "h": 131.3
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#4A7415
secondary
#6C3BAA
accent
#3CEC8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7415

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

Preview Lab → · Contrast checker → · Palette generator →

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