#4A4E17#4A4E17

#4A4E17 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.8% C 0.076 H 113.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4A4E17
RGBrgb(74, 78, 23)
HSLhsl(64, 54%, 20%)
HSVhsv(64, 71%, 31%)
CMYKcmyk(5.1%, 0%, 70.5%, 69.4%)
CIE-LABlab(31.73, -9.99, 30.83)
CIE-LCHlch(31.73, 32.41, 107.95°)
OKLaboklab(40.8% -0.03 0.0699)
OKLCHoklch(40.8% 0.076 113.3)
XYZxyz(5.7032, 6.9666, 1.8547)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E17 #1B174E
analogous
#4E3717 #4A4E17 #2E4E17
triadic
#4A4E17 #174A4E #4E174A
tetradic
#4A4E17 #174E37 #1B174E #4E172E
square
#4A4E17 #174E37 #1B174E #4E172E
split-complementary
#4A4E17 #172E4E #37174E
monochromatic
#161807 #1D1F09 #4A4E17 #777D25 #A4AD33

Accessibility & contrast

On white

8.77
#4A4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4A4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E17
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E17#FFFFFF#000000##FFFFFF
##4A4E171.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A10
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#4F4943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e17;
/* rgb */ color: rgb(74, 78, 23);
/* oklch */ color: oklch(40.8% 0.076 113.3);
Tailwind
colors: {
  custom: {
    50: '#7e7f57',
    500: '#4a4e17',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e17;
$custom-light: #7e7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e17",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 64.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.07608,
    "h": 113.3
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#4A4E17
secondary
#413C85
accent
#4ADE55
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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