#4A6A18#4A6A18

#4A6A18 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.114 H 128.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4A6A18
RGBrgb(74, 106, 24)
HSLhsl(83, 63%, 25%)
HSVhsv(83, 77%, 42%)
CMYKcmyk(30.2%, 0%, 77.4%, 58.4%)
CIE-LABlab(40.94, -25.03, 39.73)
CIE-LCHlch(40.94, 46.95, 122.21°)
OKLaboklab(48.24% -0.0715 0.0888)
OKLCHoklch(48.24% 0.114 128.8)
XYZxyz(8.1429, 11.8296, 2.7183)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6A18 #38186A
analogous
#6A6118 #4A6A18 #216A18
triadic
#4A6A18 #184A6A #6A184A
tetradic
#4A6A18 #186A61 #38186A #6A1821
square
#4A6A18 #186A61 #38186A #6A1821
split-complementary
#4A6A18 #18216A #61186A
monochromatic
#111906 #27380D #4A6A18 #6D9C23 #90CE2F

Accessibility & contrast

On white

6.24
#4A6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6A18
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6A18#FFFFFF#000000##FFFFFF
##4A6A181.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6208
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#4D655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a6a18;
/* rgb */ color: rgb(74, 106, 24);
/* oklch */ color: oklch(48.2% 0.114 128.8);
Tailwind
colors: {
  custom: {
    50: '#80955b',
    500: '#4a6a18',
    950: '#000000',
  },
}
SCSS
$custom: #4a6a18;
$custom-light: #80955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6a18",
  "rgb": {
    "r": 74,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 83.415,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.11395,
    "h": 128.8
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#4A6A18
secondary
#643EA0
accent
#42E682
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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