#4A6E17#4A6E17

#4A6E17 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.3% C 0.120 H 129.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4A6E17
RGBrgb(74, 110, 23)
HSLhsl(85, 65%, 26%)
HSVhsv(85, 79%, 43%)
CMYKcmyk(32.7%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.26, -27.05, 41.38)
CIE-LCHlch(42.26, 49.44, 123.17°)
OKLaboklab(49.31% -0.077 0.092)
OKLCHoklch(49.31% 0.12 129.9)
XYZxyz(8.5546, 12.6693, 2.8051)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6E17 #3B176E
analogous
#6E6617 #4A6E17 #1E6E17
triadic
#4A6E17 #174A6E #6E174A
tetradic
#4A6E17 #176E66 #3B176E #6E171E
square
#4A6E17 #176E66 #3B176E #6E171E
split-complementary
#4A6E17 #171E6E #66176E
monochromatic
#111905 #283B0C #4A6E17 #6CA122 #8ED32C

Accessibility & contrast

On white

5.94
#4A6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4A6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6E17
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6E17#FFFFFF#000000##FFFFFF
##4A6E171.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#4C695E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a6e17;
/* rgb */ color: rgb(74, 110, 23);
/* oklch */ color: oklch(49.3% 0.120 129.9);
Tailwind
colors: {
  custom: {
    50: '#80985b',
    500: '#4a6e17',
    950: '#000000',
  },
}
SCSS
$custom: #4a6e17;
$custom-light: #80985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6e17",
  "rgb": {
    "r": 74,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 84.828,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.12003,
    "h": 129.9
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#4A6E17
secondary
#683DA4
accent
#3FE885
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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