#4A7316#4A7316

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

Color values

HEX#4A7316
RGBrgb(74, 115, 22)
HSLhsl(86, 68%, 27%)
HSVhsv(86, 81%, 45%)
CMYKcmyk(35.7%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.91, -29.49, 43.30)
CIE-LCHlch(43.91, 52.39, 124.26°)
OKLaboklab(50.65% -0.0837 0.0959)
OKLCHoklch(50.65% 0.127 131.1)
XYZxyz(9.0995, 13.7749, 2.9383)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7316 #3F1673
analogous
#736E16 #4A7316 #1B7316
triadic
#4A7316 #164A73 #73164A
tetradic
#4A7316 #16736E #3F1673 #73161B
square
#4A7316 #16736E #3F1673 #73161B
split-complementary
#4A7316 #161B73 #6E1673
monochromatic
#111A05 #29400C #4A7316 #6BA620 #8CD72D

Accessibility & contrast

On white

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

On black

3.76
#4A7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A7316#FFFFFF#000000##FFFFFF
##4A73161.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a7316;
/* rgb */ color: rgb(74, 115, 22);
/* oklch */ color: oklch(50.7% 0.127 131.1);
Tailwind
colors: {
  custom: {
    50: '#819b5c',
    500: '#4a7316',
    950: '#000000',
  },
}
SCSS
$custom: #4a7316;
$custom-light: #819b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7316",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 86.452,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.12732,
    "h": 131.1
  },
  "luminance": 0.13775
}

Semantic roles & 50–950 ramp

primary
#4A7316
secondary
#6C3CA9
accent
#3DEB8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7316

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

Preview Lab → · Contrast checker → · Palette generator →

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