#4A5512#4A5512

#4A5512 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.6% C 0.089 H 118.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4A5512
RGBrgb(74, 85, 18)
HSLhsl(70, 65%, 20%)
HSVhsv(70, 79%, 33%)
CMYKcmyk(12.9%, 0%, 78.8%, 66.7%)
CIE-LABlab(33.98, -14.34, 35.31)
CIE-LCHlch(33.98, 38.11, 112.10°)
OKLaboklab(42.59% -0.0427 0.0784)
OKLCHoklch(42.59% 0.089 118.6)
XYZxyz(6.1819, 7.9966, 1.7900)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5512 #1D1255
analogous
#553F12 #4A5512 #285512
triadic
#4A5512 #124A55 #55124A
tetradic
#4A5512 #12553F #1D1255 #551228
square
#4A5512 #12553F #1D1255 #551228
split-complementary
#4A5512 #122855 #3F1255
monochromatic
#161905 #1E2207 #4A5512 #76881D #A2BA27

Accessibility & contrast

On white

8.08
#4A5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4A5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5512
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5512#FFFFFF#000000##FFFFFF
##4A55121.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#4F5048
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a5512;
/* rgb */ color: rgb(74, 85, 18);
/* oklch */ color: oklch(42.6% 0.089 118.6);
Tailwind
colors: {
  custom: {
    50: '#7f8455',
    500: '#4a5512',
    950: '#000000',
  },
}
SCSS
$custom: #4a5512;
$custom-light: #7f8455;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5512",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 69.851,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.08927,
    "h": 118.6
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#4A5512
secondary
#44358E
accent
#40E85B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5512

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

Preview Lab → · Contrast checker → · Palette generator →

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