#4A6811#4A6811

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

Color values

HEX#4A6811
RGBrgb(74, 104, 17)
HSLhsl(81, 72%, 24%)
HSVhsv(81, 84%, 41%)
CMYKcmyk(28.8%, 0%, 83.7%, 59.2%)
CIE-LABlab(40.24, -24.44, 41.56)
CIE-LCHlch(40.24, 48.21, 120.46°)
OKLaboklab(47.66% -0.0704 0.0914)
OKLCHoklch(47.66% 0.115 127.6)
XYZxyz(7.8756, 11.3968, 2.3151)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6811 #2F1168
analogous
#685A11 #4A6811 #1E6811
triadic
#4A6811 #114A68 #68114A
tetradic
#4A6811 #11685A #2F1168 #68111E
square
#4A6811 #11685A #2F1168 #68111E
split-complementary
#4A6811 #111E68 #5A1168
monochromatic
#131A04 #253308 #4A6811 #6F9D1A #95D122

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6811#FFFFFF#000000##FFFFFF
##4A68111.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)
#6E6000
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#4D6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6811;
/* rgb */ color: rgb(74, 104, 17);
/* oklch */ color: oklch(47.7% 0.115 127.6);
Tailwind
colors: {
  custom: {
    50: '#809358',
    500: '#4a6811',
    950: '#000000',
  },
}
SCSS
$custom: #4a6811;
$custom-light: #809358;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6811",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 80.69,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.47659,
    "c": 0.11537,
    "h": 127.6
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#4A6811
secondary
#5A35A0
accent
#39EF78
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6811

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

Preview Lab → · Contrast checker → · Palette generator →

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