#4A6918#4A6918

#4A6918 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.113 H 128.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4A6918
RGBrgb(74, 105, 24)
HSLhsl(83, 63%, 25%)
HSVhsv(83, 77%, 41%)
CMYKcmyk(29.5%, 0%, 77.1%, 58.8%)
CIE-LABlab(40.61, -24.53, 39.40)
CIE-LCHlch(40.61, 46.41, 121.91°)
OKLaboklab(47.98% -0.0701 0.0881)
OKLCHoklch(47.98% 0.113 128.5)
XYZxyz(8.0405, 11.6247, 2.6842)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6918 #371869
analogous
#695F18 #4A6918 #216918
triadic
#4A6918 #184A69 #69184A
tetradic
#4A6918 #18695F #371869 #691821
square
#4A6918 #18695F #371869 #691821
split-complementary
#4A6918 #182169 #5F1869
monochromatic
#121906 #27370D #4A6918 #6D9B23 #90CD2F

Accessibility & contrast

On white

6.32
#4A6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4A6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6918
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6918#FFFFFF#000000##FFFFFF
##4A69181.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#4D6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a6918;
/* rgb */ color: rgb(74, 105, 24);
/* oklch */ color: oklch(48.0% 0.113 128.5);
Tailwind
colors: {
  custom: {
    50: '#80945b',
    500: '#4a6918',
    950: '#000000',
  },
}
SCSS
$custom: #4a6918;
$custom-light: #80945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6918",
  "rgb": {
    "r": 74,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 82.963,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.11258,
    "h": 128.5
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#4A6918
secondary
#633E9F
accent
#42E681
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6918

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

Preview Lab → · Contrast checker → · Palette generator →

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