#4A6C18#4A6C18

#4A6C18 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.117 H 129.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4A6C18
RGBrgb(74, 108, 24)
HSLhsl(84, 64%, 26%)
HSVhsv(84, 78%, 42%)
CMYKcmyk(31.5%, 0%, 77.8%, 57.6%)
CIE-LABlab(41.61, -26.01, 40.37)
CIE-LCHlch(41.61, 48.03, 122.80°)
OKLaboklab(48.78% -0.0741 0.0901)
OKLCHoklch(48.78% 0.117 129.5)
XYZxyz(8.3514, 12.2467, 2.7878)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6C18 #3A186C
analogous
#6C6418 #4A6C18 #206C18
triadic
#4A6C18 #184A6C #6C184A
tetradic
#4A6C18 #186C64 #3A186C #6C1820
square
#4A6C18 #186C64 #3A186C #6C1820
split-complementary
#4A6C18 #18206C #64186C
monochromatic
#111906 #283A0D #4A6C18 #6C9E23 #8FD02E

Accessibility & contrast

On white

6.09
#4A6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4A6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6C18
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6C18#FFFFFF#000000##FFFFFF
##4A6C181.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716407
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#4C675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a6c18;
/* rgb */ color: rgb(74, 108, 24);
/* oklch */ color: oklch(48.8% 0.117 129.5);
Tailwind
colors: {
  custom: {
    50: '#80965c',
    500: '#4a6c18',
    950: '#000000',
  },
}
SCSS
$custom: #4a6c18;
$custom-light: #80965c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6c18",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 84.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48782,
    "c": 0.11669,
    "h": 129.5
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#4A6C18
secondary
#663EA2
accent
#41E784
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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