#4A6D17#4A6D17

#4A6D17 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.0% C 0.119 H 129.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4A6D17
RGBrgb(74, 109, 23)
HSLhsl(84, 65%, 26%)
HSVhsv(84, 79%, 43%)
CMYKcmyk(32.1%, 0%, 78.9%, 57.3%)
CIE-LABlab(41.93, -26.57, 41.06)
CIE-LCHlch(41.93, 48.91, 122.90°)
OKLaboklab(49.04% -0.0757 0.0914)
OKLCHoklch(49.04% 0.119 129.6)
XYZxyz(8.4473, 12.4547, 2.7694)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6D17 #3A176D
analogous
#6D6517 #4A6D17 #1F6D17
triadic
#4A6D17 #174A6D #6D174A
tetradic
#4A6D17 #176D65 #3A176D #6D171F
square
#4A6D17 #176D65 #3A176D #6D171F
split-complementary
#4A6D17 #171F6D #65176D
monochromatic
#111905 #283A0C #4A6D17 #6CA022 #8FD22C

Accessibility & contrast

On white

6.02
#4A6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4A6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6D17
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6D17#FFFFFF#000000##FFFFFF
##4A6D171.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726505
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#4C685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a6d17;
/* rgb */ color: rgb(74, 109, 23);
/* oklch */ color: oklch(49.0% 0.119 129.6);
Tailwind
colors: {
  custom: {
    50: '#80975b',
    500: '#4a6d17',
    950: '#000000',
  },
}
SCSS
$custom: #4a6d17;
$custom-light: #80975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6d17",
  "rgb": {
    "r": 74,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 84.419,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.11868,
    "h": 129.6
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#4A6D17
secondary
#663DA3
accent
#40E884
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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