#4A6813#4A6813

#4A6813 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#4A6813
RGBrgb(74, 104, 19)
HSLhsl(81, 69%, 24%)
HSVhsv(81, 82%, 41%)
CMYKcmyk(28.8%, 0%, 81.7%, 59.2%)
CIE-LABlab(40.25, -24.33, 40.90)
CIE-LCHlch(40.25, 47.59, 120.75°)
OKLaboklab(47.67% -0.07 0.0903)
OKLCHoklch(47.67% 0.114 127.8)
XYZxyz(7.8919, 11.4033, 2.4012)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6813 #311368
analogous
#685C13 #4A6813 #206813
triadic
#4A6813 #134A68 #68134A
tetradic
#4A6813 #13685C #311368 #681320
square
#4A6813 #13685C #311368 #681320
split-complementary
#4A6813 #132068 #5C1368
monochromatic
#121A05 #25340A #4A6813 #6F9C1C #94CF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4a6813;
/* rgb */ color: rgb(74, 104, 19);
/* oklch */ color: oklch(47.7% 0.114 127.8);
Tailwind
colors: {
  custom: {
    50: '#809359',
    500: '#4a6813',
    950: '#000000',
  },
}
SCSS
$custom: #4a6813;
$custom-light: #809359;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6813",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 81.176,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.11428,
    "h": 127.8
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#4A6813
secondary
#5C379F
accent
#3CEC7A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6813

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

Preview Lab → · Contrast checker → · Palette generator →

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