#4A6F16#4A6F16

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

Color values

HEX#4A6F16
RGBrgb(74, 111, 22)
HSLhsl(85, 67%, 26%)
HSVhsv(85, 80%, 44%)
CMYKcmyk(33.3%, 0%, 80.2%, 56.5%)
CIE-LABlab(42.59, -27.59, 42.05)
CIE-LCHlch(42.59, 50.29, 123.27°)
OKLaboklab(49.58% -0.0786 0.0933)
OKLCHoklch(49.58% 0.122 130.1)
XYZxyz(8.6533, 12.8824, 2.7895)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6F16 #3B166F
analogous
#6F6716 #4A6F16 #1D6F16
triadic
#4A6F16 #164A6F #6F164A
tetradic
#4A6F16 #166F67 #3B166F #6F161D
square
#4A6F16 #166F67 #3B166F #6F161D
split-complementary
#4A6F16 #161D6F #67166F
monochromatic
#111A05 #283C0C #4A6F16 #6CA220 #8ED52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6F16#FFFFFF#000000##FFFFFF
##4A6F161.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)
#746602
Deuteranopia (green-blind)
#6F641F
Tritanopia (blue-blind)
#4C6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a6f16;
/* rgb */ color: rgb(74, 111, 22);
/* oklch */ color: oklch(49.6% 0.122 130.1);
Tailwind
colors: {
  custom: {
    50: '#80985b',
    500: '#4a6f16',
    950: '#000000',
  },
}
SCSS
$custom: #4a6f16;
$custom-light: #80985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6f16",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 84.944,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.12198,
    "h": 130.1
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#4A6F16
secondary
#683CA5
accent
#3EEA85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4A6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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