#4A7314#4A7314

#4A7314 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.6% C 0.128 H 131.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A7314
RGBrgb(74, 115, 20)
HSLhsl(86, 70%, 26%)
HSVhsv(86, 83%, 45%)
CMYKcmyk(35.7%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.90, -29.60, 43.95)
CIE-LCHlch(43.90, 52.99, 123.96°)
OKLaboklab(50.64% -0.0842 0.0969)
OKLCHoklch(50.64% 0.128 131)
XYZxyz(9.0810, 13.7675, 2.8406)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7314 #3D1473
analogous
#736D14 #4A7314 #1B7314
triadic
#4A7314 #144A73 #73144A
tetradic
#4A7314 #14736D #3D1473 #73141B
square
#4A7314 #14736D #3D1473 #73141B
split-complementary
#4A7314 #141B73 #6D1473
monochromatic
#111A05 #283F0B #4A7314 #6CA71D #8DDA28

Accessibility & contrast

On white

5.59
#4A7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4A7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7314
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7314#FFFFFF#000000##FFFFFF
##4A73141.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#4C6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7314;
/* rgb */ color: rgb(74, 115, 20);
/* oklch */ color: oklch(50.6% 0.128 131.0);
Tailwind
colors: {
  custom: {
    50: '#819b5b',
    500: '#4a7314',
    950: '#000000',
  },
}
SCSS
$custom: #4a7314;
$custom-light: #819b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7314",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 85.895,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.12839,
    "h": 131
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#4A7314
secondary
#6A3AA9
accent
#3BED88
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7314

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

Preview Lab → · Contrast checker → · Palette generator →

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