#4A7015#4A7015

#4A7015 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.8% C 0.124 H 130.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A7015
RGBrgb(74, 112, 21)
HSLhsl(85, 68%, 26%)
HSVhsv(85, 81%, 44%)
CMYKcmyk(33.9%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.91, -28.13, 42.70)
CIE-LCHlch(42.91, 51.13, 123.37°)
OKLaboklab(49.84% -0.0801 0.0945)
OKLCHoklch(49.84% 0.124 130.3)
XYZxyz(8.7535, 13.0980, 2.7763)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7015 #3B1570
analogous
#706815 #4A7015 #1C7015
triadic
#4A7015 #154A70 #70154A
tetradic
#4A7015 #157068 #3B1570 #70151C
square
#4A7015 #157068 #3B1570 #70151C
split-complementary
#4A7015 #151C70 #681570
monochromatic
#111A05 #283C0B #4A7015 #6CA41F #8ED729

Accessibility & contrast

On white

5.80
#4A7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7015
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7015#FFFFFF#000000##FFFFFF
##4A70151.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a7015;
/* rgb */ color: rgb(74, 112, 21);
/* oklch */ color: oklch(49.8% 0.124 130.3);
Tailwind
colors: {
  custom: {
    50: '#80995b',
    500: '#4a7015',
    950: '#000000',
  },
}
SCSS
$custom: #4a7015;
$custom-light: #80995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7015",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 85.055,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.12388,
    "h": 130.3
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#4A7015
secondary
#683BA6
accent
#3DEB85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7015

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

Preview Lab → · Contrast checker → · Palette generator →

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