#4A6418#4A6418

#4A6418 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.6% C 0.106 H 126.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4A6418
RGBrgb(74, 100, 24)
HSLhsl(81, 61%, 24%)
HSVhsv(81, 76%, 39%)
CMYKcmyk(26%, 0%, 76%, 60.8%)
CIE-LABlab(38.96, -22.00, 37.77)
CIE-LCHlch(38.96, 43.71, 120.22°)
OKLaboklab(46.63% -0.0632 0.0846)
OKLCHoklch(46.63% 0.106 126.8)
XYZxyz(7.5461, 10.6360, 2.5194)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6418 #321864
analogous
#645818 #4A6418 #246418
triadic
#4A6418 #184A64 #64184A
tetradic
#4A6418 #186458 #321864 #641824
square
#4A6418 #186458 #321864 #641824
split-complementary
#4A6418 #182464 #581864
monochromatic
#121906 #25330C #4A6418 #6F9524 #93C730

Accessibility & contrast

On white

6.72
#4A6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4A6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6418
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6418#FFFFFF#000000##FFFFFF
##4A64181.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#4D5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a6418;
/* rgb */ color: rgb(74, 100, 24);
/* oklch */ color: oklch(46.6% 0.106 126.8);
Tailwind
colors: {
  custom: {
    50: '#7f905b',
    500: '#4a6418',
    950: '#000000',
  },
}
SCSS
$custom: #4a6418;
$custom-light: #7f905b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6418",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 80.526,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.10564,
    "h": 126.8
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#4A6418
secondary
#5D3E9A
accent
#43E47A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6418

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

Preview Lab → · Contrast checker → · Palette generator →

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