#4A7115#4A7115

#4A7115 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.125 H 130.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A7115
RGBrgb(74, 113, 21)
HSLhsl(85, 69%, 26%)
HSVhsv(85, 81%, 44%)
CMYKcmyk(34.5%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.24, -28.60, 43.01)
CIE-LCHlch(43.24, 51.66, 123.62°)
OKLaboklab(50.11% -0.0814 0.0951)
OKLCHoklch(50.11% 0.125 130.6)
XYZxyz(8.8645, 13.3199, 2.8133)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7115 #3C1571
analogous
#716A15 #4A7115 #1C7115
triadic
#4A7115 #154A71 #71154A
tetradic
#4A7115 #15716A #3C1571 #71151C
square
#4A7115 #15716A #3C1571 #71151C
split-complementary
#4A7115 #151C71 #6A1571
monochromatic
#111A05 #283D0B #4A7115 #6CA51F #8DD729

Accessibility & contrast

On white

5.73
#4A7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4A7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7115
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7115#FFFFFF#000000##FFFFFF
##4A71151.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#4C6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a7115;
/* rgb */ color: rgb(74, 113, 21);
/* oklch */ color: oklch(50.1% 0.125 130.6);
Tailwind
colors: {
  custom: {
    50: '#809a5b',
    500: '#4a7115',
    950: '#000000',
  },
}
SCSS
$custom: #4a7115;
$custom-light: #809a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7115",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 85.435,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.12521,
    "h": 130.6
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#4A7115
secondary
#693BA7
accent
#3CEB87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7115

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

Preview Lab → · Contrast checker → · Palette generator →

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