#4A7014#4A7014

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

Color values

HEX#4A7014
RGBrgb(74, 112, 20)
HSLhsl(85, 70%, 26%)
HSVhsv(85, 82%, 44%)
CMYKcmyk(33.9%, 0%, 82.1%, 56.1%)
CIE-LABlab(42.91, -28.18, 43.03)
CIE-LCHlch(42.91, 51.44, 123.22°)
OKLaboklab(49.83% -0.0803 0.095)
OKLCHoklch(49.83% 0.124 130.2)
XYZxyz(8.7444, 13.0944, 2.7284)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7014 #3A1470
analogous
#706814 #4A7014 #1C7014
triadic
#4A7014 #144A70 #70144A
tetradic
#4A7014 #147068 #3A1470 #70141C
square
#4A7014 #147068 #3A1470 #70141C
split-complementary
#4A7014 #141C70 #681470
monochromatic
#111A05 #283C0B #4A7014 #6CA41D #8FD827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7014#FFFFFF#000000##FFFFFF
##4A70141.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)
#70641E
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a7014;
/* rgb */ color: rgb(74, 112, 20);
/* oklch */ color: oklch(49.8% 0.124 130.2);
Tailwind
colors: {
  custom: {
    50: '#80995a',
    500: '#4a7014',
    950: '#000000',
  },
}
SCSS
$custom: #4a7014;
$custom-light: #80995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7014",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 84.783,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49832,
    "c": 0.12442,
    "h": 130.2
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#4A7014
secondary
#6639A6
accent
#3BED84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7014

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

Preview Lab → · Contrast checker → · Palette generator →

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