#4A4E22#4A4E22

#4A4E22 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.065 H 113.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4A4E22
RGBrgb(74, 78, 34)
HSLhsl(65, 39%, 22%)
HSVhsv(65, 56%, 31%)
CMYKcmyk(5.1%, 0%, 56.4%, 69.4%)
CIE-LABlab(31.85, -8.99, 25.20)
CIE-LCHlch(31.85, 26.76, 109.63°)
OKLaboklab(40.94% -0.0259 0.0594)
OKLCHoklch(40.94% 0.065 113.6)
XYZxyz(5.8373, 7.0202, 2.5606)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E22 #26224E
analogous
#4E3C22 #4A4E22 #344E22
triadic
#4A4E22 #224A4E #4E224A
tetradic
#4A4E22 #224E3C #26224E #4E2234
square
#4A4E22 #224E3C #26224E #4E2234
split-complementary
#4A4E22 #22344E #3C224E
monochromatic
#141509 #22230F #4A4E22 #727935 #9BA347

Accessibility & contrast

On white

8.74
#4A4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E22
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E22#FFFFFF#000000##FFFFFF
##4A4E221.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#4F4A44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e22;
/* rgb */ color: rgb(74, 78, 34);
/* oklch */ color: oklch(40.9% 0.065 113.6);
Tailwind
colors: {
  custom: {
    50: '#7e7f5e',
    500: '#4a4e22',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e22;
$custom-light: #7e7f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e22",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 65.455,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.06482,
    "h": 113.6
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#4A4E22
secondary
#4F4A82
accent
#59CF63
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A04
muted
#7C7C79

Preview Lab

Preview with #4A4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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