#4A6814#4A6814

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

Color values

HEX#4A6814
RGBrgb(74, 104, 20)
HSLhsl(81, 68%, 24%)
HSVhsv(81, 81%, 41%)
CMYKcmyk(28.8%, 0%, 80.8%, 59.2%)
CIE-LABlab(40.26, -24.28, 40.55)
CIE-LCHlch(40.26, 47.27, 120.91°)
OKLaboklab(47.68% -0.0698 0.0898)
OKLCHoklch(47.68% 0.114 127.8)
XYZxyz(7.9006, 11.4068, 2.4472)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6814 #321468
analogous
#685C14 #4A6814 #206814
triadic
#4A6814 #144A68 #68144A
tetradic
#4A6814 #14685C #321468 #681420
square
#4A6814 #14685C #321468 #681420
split-complementary
#4A6814 #142068 #5C1468
monochromatic
#121A05 #25350A #4A6814 #6F9B1E #93CF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6814#FFFFFF#000000##FFFFFF
##4A68141.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)
#6E6001
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#4D6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6814;
/* rgb */ color: rgb(74, 104, 20);
/* oklch */ color: oklch(47.7% 0.114 127.8);
Tailwind
colors: {
  custom: {
    50: '#809359',
    500: '#4a6814',
    950: '#000000',
  },
}
SCSS
$custom: #4a6814;
$custom-light: #809359;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6814",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 81.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47677,
    "c": 0.1137,
    "h": 127.8
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#4A6814
secondary
#5D399F
accent
#3DEB7B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6814

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

Preview Lab → · Contrast checker → · Palette generator →

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