#4A6816#4A6816

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

Color values

HEX#4A6816
RGBrgb(74, 104, 22)
HSLhsl(82, 65%, 25%)
HSVhsv(82, 79%, 41%)
CMYKcmyk(28.8%, 0%, 78.8%, 59.2%)
CIE-LABlab(40.27, -24.16, 39.83)
CIE-LCHlch(40.27, 46.59, 121.24°)
OKLaboklab(47.69% -0.0693 0.0886)
OKLCHoklch(47.69% 0.112 128)
XYZxyz(7.9192, 11.4142, 2.5448)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6816 #341668
analogous
#685D16 #4A6816 #216816
triadic
#4A6816 #164A68 #68164A
tetradic
#4A6816 #16685D #341668 #681621
square
#4A6816 #16685D #341668 #681621
split-complementary
#4A6816 #162168 #5D1668
monochromatic
#121905 #26350B #4A6816 #6E9B21 #92CD2B

Accessibility & contrast

On white

6.40
#4A6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4A6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6816
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6816#FFFFFF#000000##FFFFFF
##4A68161.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6005
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#4D6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6816;
/* rgb */ color: rgb(74, 104, 22);
/* oklch */ color: oklch(47.7% 0.112 128.0);
Tailwind
colors: {
  custom: {
    50: '#80935a',
    500: '#4a6816',
    950: '#000000',
  },
}
SCSS
$custom: #4a6816;
$custom-light: #80935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6816",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 81.951,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.11249,
    "h": 128
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#4A6816
secondary
#603B9F
accent
#40E87D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6816

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

Preview Lab → · Contrast checker → · Palette generator →

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