#4A8319#4A8319

#4A8319 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.0% C 0.147 H 134.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4A8319
RGBrgb(74, 131, 25)
HSLhsl(92, 68%, 31%)
HSVhsv(92, 81%, 51%)
CMYKcmyk(43.5%, 0%, 80.9%, 48.6%)
CIE-LABlab(49.20, -36.53, 47.28)
CIE-LCHlch(49.20, 59.75, 127.69°)
OKLaboklab(54.99% -0.1025 0.1047)
OKLCHoklch(54.99% 0.147 134.4)
XYZxyz(11.1156, 17.7580, 3.7615)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8319 #521983
analogous
#7F8319 #4A8319 #19831D
triadic
#4A8319 #194A83 #83194A
tetradic
#4A8319 #197F83 #521983 #831D19
square
#4A8319 #197F83 #521983 #831D19
split-complementary
#4A8319 #1D1983 #83197F
monochromatic
#101C05 #2D500F #4A8319 #67B623 #85DA3D

Accessibility & contrast

On white

4.61
#4A8319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4A8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8319
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8319#FFFFFF#000000##FFFFFF
##4A83191.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#497E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a8319;
/* rgb */ color: rgb(74, 131, 25);
/* oklch */ color: oklch(55.0% 0.147 134.4);
Tailwind
colors: {
  custom: {
    50: '#82a75f',
    500: '#4a8319',
    950: '#000000',
  },
}
SCSS
$custom: #4a8319;
$custom-light: #82a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8319",
  "rgb": {
    "r": 74,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 92.264,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.14655,
    "h": 134.4
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#4A8319
secondary
#8041B7
accent
#3DEB9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8319

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

Preview Lab → · Contrast checker → · Palette generator →

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