#4A7313#4A7313

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

Color values

HEX#4A7313
RGBrgb(74, 115, 19)
HSLhsl(86, 72%, 26%)
HSVhsv(86, 83%, 45%)
CMYKcmyk(35.7%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.89, -29.65, 44.27)
CIE-LCHlch(43.89, 53.28, 123.82°)
OKLaboklab(50.64% -0.0844 0.0974)
OKLCHoklch(50.64% 0.129 130.9)
XYZxyz(9.0723, 13.7640, 2.7947)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7313 #3C1373
analogous
#736C13 #4A7313 #1A7313
triadic
#4A7313 #134A73 #73134A
tetradic
#4A7313 #13736C #3C1373 #73131A
square
#4A7313 #13736C #3C1373 #73131A
split-complementary
#4A7313 #131A73 #6C1373
monochromatic
#111A04 #283E0A #4A7313 #6CA81C #8DDB25

Accessibility & contrast

On white

5.60
#4A7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A7313
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7313#FFFFFF#000000##FFFFFF
##4A73131.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a7313;
/* rgb */ color: rgb(74, 115, 19);
/* oklch */ color: oklch(50.6% 0.129 130.9);
Tailwind
colors: {
  custom: {
    50: '#819b5a',
    500: '#4a7313',
    950: '#000000',
  },
}
SCSS
$custom: #4a7313;
$custom-light: #819b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7313",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 85.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.12889,
    "h": 130.9
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#4A7313
secondary
#6938AA
accent
#39EE87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7313

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

Preview Lab → · Contrast checker → · Palette generator →

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