#4A6819#4A6819

#4A6819 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.7% C 0.111 H 128.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4A6819
RGBrgb(74, 104, 25)
HSLhsl(83, 61%, 25%)
HSVhsv(83, 76%, 41%)
CMYKcmyk(28.8%, 0%, 76%, 59.2%)
CIE-LABlab(40.29, -23.96, 38.68)
CIE-LCHlch(40.29, 45.51, 121.78°)
OKLaboklab(47.71% -0.0685 0.0867)
OKLCHoklch(47.71% 0.111 128.3)
XYZxyz(7.9498, 11.4265, 2.7062)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6819 #371968
analogous
#685E19 #4A6819 #226819
triadic
#4A6819 #194A68 #68194A
tetradic
#4A6819 #19685E #371968 #681922
square
#4A6819 #19685E #371968 #681922
split-complementary
#4A6819 #192268 #5E1968
monochromatic
#121906 #27370D #4A6819 #6D9925 #90CB31

Accessibility & contrast

On white

6.39
#4A6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4A6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6819
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6819#FFFFFF#000000##FFFFFF
##4A68191.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600B
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#4D6359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6819;
/* rgb */ color: rgb(74, 104, 25);
/* oklch */ color: oklch(47.7% 0.111 128.3);
Tailwind
colors: {
  custom: {
    50: '#7f935c',
    500: '#4a6819',
    950: '#000000',
  },
}
SCSS
$custom: #4a6819;
$custom-light: #7f935c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6819",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 82.785,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.11051,
    "h": 128.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#4A6819
secondary
#633F9E
accent
#43E481
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6819

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

Preview Lab → · Contrast checker → · Palette generator →

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