#4A4E18#4A4E18

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

Color values

HEX#4A4E18
RGBrgb(74, 78, 24)
HSLhsl(64, 53%, 20%)
HSVhsv(64, 69%, 31%)
CMYKcmyk(5.1%, 0%, 69.2%, 69.4%)
CIE-LABlab(31.74, -9.91, 30.36)
CIE-LCHlch(31.74, 31.94, 108.08°)
OKLaboklab(40.81% -0.0297 0.0691)
OKLCHoklch(40.81% 0.075 113.3)
XYZxyz(5.7134, 6.9707, 1.9085)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E18 #1C184E
analogous
#4E3718 #4A4E18 #2F4E18
triadic
#4A4E18 #184A4E #4E184A
tetradic
#4A4E18 #184E37 #1C184E #4E182F
square
#4A4E18 #184E37 #1C184E #4E182F
split-complementary
#4A4E18 #182F4E #37184E
monochromatic
#161707 #1E1F0A #4A4E18 #767D26 #A3AC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4E18#FFFFFF#000000##FFFFFF
##4A4E181.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)
#544A11
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#4F4943
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e18;
/* rgb */ color: rgb(74, 78, 24);
/* oklch */ color: oklch(40.8% 0.075 113.3);
Tailwind
colors: {
  custom: {
    50: '#7e7f58',
    500: '#4a4e18',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e18;
$custom-light: #7e7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e18",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 64.444,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.07518,
    "h": 113.3
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#4A4E18
secondary
#423D85
accent
#4BDC56
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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