#4A7013#4A7013

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

Color values

HEX#4A7013
RGBrgb(74, 112, 19)
HSLhsl(85, 71%, 26%)
HSVhsv(85, 83%, 44%)
CMYKcmyk(33.9%, 0%, 83%, 56.1%)
CIE-LABlab(42.90, -28.24, 43.36)
CIE-LCHlch(42.90, 51.74, 123.07°)
OKLaboklab(49.83% -0.0806 0.0955)
OKLCHoklch(49.83% 0.125 130.1)
XYZxyz(8.7357, 13.0909, 2.6825)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7013 #391370
analogous
#706713 #4A7013 #1C7013
triadic
#4A7013 #134A70 #70134A
tetradic
#4A7013 #137067 #391370 #70131C
square
#4A7013 #137067 #391370 #70131C
split-complementary
#4A7013 #131C70 #671370
monochromatic
#111A04 #273C0A #4A7013 #6DA41C #8FD925

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7013#FFFFFF#000000##FFFFFF
##4A70131.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)
#766700
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a7013;
/* rgb */ color: rgb(74, 112, 19);
/* oklch */ color: oklch(49.8% 0.125 130.1);
Tailwind
colors: {
  custom: {
    50: '#80995a',
    500: '#4a7013',
    950: '#000000',
  },
}
SCSS
$custom: #4a7013;
$custom-light: #80995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7013",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 84.516,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.12495,
    "h": 130.1
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#4A7013
secondary
#6538A7
accent
#3AEE83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7013

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

Preview Lab → · Contrast checker → · Palette generator →

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