#4A6F18#4A6F18

#4A6F18 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.121 H 130.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4A6F18
RGBrgb(74, 111, 24)
HSLhsl(86, 64%, 26%)
HSVhsv(86, 78%, 44%)
CMYKcmyk(33.3%, 0%, 78.4%, 56.5%)
CIE-LABlab(42.60, -27.47, 41.34)
CIE-LCHlch(42.60, 49.63, 123.61°)
OKLaboklab(49.59% -0.0781 0.0921)
OKLCHoklch(49.59% 0.121 130.3)
XYZxyz(8.6733, 12.8904, 2.8951)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6F18 #3D186F
analogous
#6F6918 #4A6F18 #1F6F18
triadic
#4A6F18 #184A6F #6F184A
tetradic
#4A6F18 #186F69 #3D186F #6F181F
square
#4A6F18 #186F69 #3D186F #6F181F
split-complementary
#4A6F18 #181F6F #69186F
monochromatic
#111905 #283D0D #4A6F18 #6CA123 #8DD22F

Accessibility & contrast

On white

5.87
#4A6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6F18
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6F18#FFFFFF#000000##FFFFFF
##4A6F181.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#4C6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a6f18;
/* rgb */ color: rgb(74, 111, 24);
/* oklch */ color: oklch(49.6% 0.121 130.3);
Tailwind
colors: {
  custom: {
    50: '#80985c',
    500: '#4a6f18',
    950: '#000000',
  },
}
SCSS
$custom: #4a6f18;
$custom-light: #80985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6f18",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 85.517,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.12078,
    "h": 130.3
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#4A6F18
secondary
#6A3EA5
accent
#40E787
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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