#4A7311#4A7311

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

Color values

HEX#4A7311
RGBrgb(74, 115, 17)
HSLhsl(85, 74%, 26%)
HSVhsv(85, 85%, 45%)
CMYKcmyk(35.7%, 0%, 85.2%, 54.9%)
CIE-LABlab(43.88, -29.75, 44.86)
CIE-LCHlch(43.88, 53.83, 123.55°)
OKLaboklab(50.63% -0.0848 0.0984)
OKLCHoklch(50.63% 0.13 130.8)
XYZxyz(9.0559, 13.7575, 2.7085)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7311 #3A1173
analogous
#736B11 #4A7311 #197311
triadic
#4A7311 #114A73 #73114A
tetradic
#4A7311 #11736B #3A1173 #731119
square
#4A7311 #11736B #3A1173 #731119
split-complementary
#4A7311 #111973 #6B1173
monochromatic
#111B04 #283E09 #4A7311 #6CA819 #8FDE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7311#FFFFFF#000000##FFFFFF
##4A73111.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)
#73671D
Tritanopia (blue-blind)
#4C6E61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7311;
/* rgb */ color: rgb(74, 115, 17);
/* oklch */ color: oklch(50.6% 0.130 130.8);
Tailwind
colors: {
  custom: {
    50: '#819b5a',
    500: '#4a7311',
    950: '#000000',
  },
}
SCSS
$custom: #4a7311;
$custom-light: #819b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7311",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 85.102,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.12986,
    "h": 130.8
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#4A7311
secondary
#6636AA
accent
#37F185
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7311

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

Preview Lab → · Contrast checker → · Palette generator →

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