#4A5612#4A5612

#4A5612 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.9% C 0.091 H 119.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4A5612
RGBrgb(74, 86, 18)
HSLhsl(71, 65%, 20%)
HSVhsv(71, 79%, 34%)
CMYKcmyk(14%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.30, -14.89, 35.63)
CIE-LCHlch(34.30, 38.62, 112.69°)
OKLaboklab(42.86% -0.0442 0.0791)
OKLCHoklch(42.86% 0.091 119.2)
XYZxyz(6.2611, 8.1551, 1.8164)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5612 #1E1256
analogous
#564012 #4A5612 #285612
triadic
#4A5612 #124A56 #56124A
tetradic
#4A5612 #125640 #1E1256 #561228
square
#4A5612 #125640 #1E1256 #561228
split-complementary
#4A5612 #122856 #401256
monochromatic
#161905 #1E2307 #4A5612 #76891D #A1BB27

Accessibility & contrast

On white

7.98
#4A5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4A5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5612
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5612#FFFFFF#000000##FFFFFF
##4A56121.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#4F5149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a5612;
/* rgb */ color: rgb(74, 86, 18);
/* oklch */ color: oklch(42.9% 0.091 119.2);
Tailwind
colors: {
  custom: {
    50: '#7f8556',
    500: '#4a5612',
    950: '#000000',
  },
}
SCSS
$custom: #4a5612;
$custom-light: #7f8556;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5612",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 70.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42856,
    "c": 0.0906,
    "h": 119.2
  },
  "luminance": 0.08155
}

Semantic roles & 50–950 ramp

primary
#4A5612
secondary
#45358F
accent
#3FE85D
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5612

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

Preview Lab → · Contrast checker → · Palette generator →

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