#4A6C17#4A6C17

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

Color values

HEX#4A6C17
RGBrgb(74, 108, 23)
HSLhsl(84, 65%, 26%)
HSVhsv(84, 79%, 42%)
CMYKcmyk(31.5%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.60, -26.08, 40.74)
CIE-LCHlch(41.60, 48.37, 122.62°)
OKLaboklab(48.77% -0.0744 0.0907)
OKLCHoklch(48.77% 0.117 129.4)
XYZxyz(8.3412, 12.2426, 2.7340)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6C17 #39176C
analogous
#6C6317 #4A6C17 #1F6C17
triadic
#4A6C17 #174A6C #6C174A
tetradic
#4A6C17 #176C63 #39176C #6C171F
square
#4A6C17 #176C63 #39176C #6C171F
split-complementary
#4A6C17 #171F6C #63176C
monochromatic
#111905 #273A0C #4A6C17 #6D9E22 #8FD12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6C17#FFFFFF#000000##FFFFFF
##4A6C171.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)
#716405
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#4C675C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a6c17;
/* rgb */ color: rgb(74, 108, 23);
/* oklch */ color: oklch(48.8% 0.117 129.4);
Tailwind
colors: {
  custom: {
    50: '#80965b',
    500: '#4a6c17',
    950: '#000000',
  },
}
SCSS
$custom: #4a6c17;
$custom-light: #80965b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6c17",
  "rgb": {
    "r": 74,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 84,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.11732,
    "h": 129.4
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#4A6C17
secondary
#653DA2
accent
#40E883
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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