#4A6B17#4A6B17

#4A6B17 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.5% C 0.116 H 129.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4A6B17
RGBrgb(74, 107, 23)
HSLhsl(84, 65%, 25%)
HSVhsv(84, 79%, 42%)
CMYKcmyk(30.8%, 0%, 78.5%, 58%)
CIE-LABlab(41.27, -25.59, 40.42)
CIE-LCHlch(41.27, 47.84, 122.33°)
OKLaboklab(48.51% -0.0731 0.09)
OKLCHoklch(48.51% 0.116 129.1)
XYZxyz(8.2364, 12.0329, 2.6991)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6B17 #38176B
analogous
#6B6217 #4A6B17 #206B17
triadic
#4A6B17 #174A6B #6B174A
tetradic
#4A6B17 #176B62 #38176B #6B1720
square
#4A6B17 #176B62 #38176B #6B1720
split-complementary
#4A6B17 #17206B #62176B
monochromatic
#111905 #27390C #4A6B17 #6D9D22 #90D02D

Accessibility & contrast

On white

6.16
#4A6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4A6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6B17
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6B17#FFFFFF#000000##FFFFFF
##4A6B171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706306
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#4C665B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a6b17;
/* rgb */ color: rgb(74, 107, 23);
/* oklch */ color: oklch(48.5% 0.116 129.1);
Tailwind
colors: {
  custom: {
    50: '#80955b',
    500: '#4a6b17',
    950: '#000000',
  },
}
SCSS
$custom: #4a6b17;
$custom-light: #80955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6b17",
  "rgb": {
    "r": 74,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 83.571,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.11596,
    "h": 129.1
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#4A6B17
secondary
#643DA1
accent
#40E882
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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