#4A6818#4A6818

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

Color values

HEX#4A6818
RGBrgb(74, 104, 24)
HSLhsl(83, 63%, 25%)
HSVhsv(83, 77%, 41%)
CMYKcmyk(28.8%, 0%, 76.9%, 59.2%)
CIE-LABlab(40.28, -24.03, 39.08)
CIE-LCHlch(40.28, 45.87, 121.59°)
OKLaboklab(47.71% -0.0687 0.0874)
OKLCHoklch(47.71% 0.111 128.2)
XYZxyz(7.9392, 11.4222, 2.6504)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6818 #361868
analogous
#685E18 #4A6818 #226818
triadic
#4A6818 #184A68 #68184A
tetradic
#4A6818 #18685E #361868 #681822
square
#4A6818 #18685E #361868 #681822
split-complementary
#4A6818 #182268 #5E1868
monochromatic
#121906 #27360D #4A6818 #6D9A23 #91CB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6818#FFFFFF#000000##FFFFFF
##4A68181.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a6818;
/* rgb */ color: rgb(74, 104, 24);
/* oklch */ color: oklch(47.7% 0.111 128.2);
Tailwind
colors: {
  custom: {
    50: '#80935b',
    500: '#4a6818',
    950: '#000000',
  },
}
SCSS
$custom: #4a6818;
$custom-light: #80935b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6818",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 82.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.11118,
    "h": 128.2
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#4A6818
secondary
#623E9E
accent
#42E67F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6818

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

Preview Lab → · Contrast checker → · Palette generator →

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