#4A4E15#4A4E15

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

Color values

HEX#4A4E15
RGBrgb(74, 78, 21)
HSLhsl(64, 58%, 19%)
HSVhsv(64, 73%, 31%)
CMYKcmyk(5.1%, 0%, 73.1%, 69.4%)
CIE-LABlab(31.71, -10.13, 31.76)
CIE-LCHlch(31.71, 33.34, 107.70°)
OKLaboklab(40.78% -0.0307 0.0715)
OKLCHoklch(40.78% 0.078 113.2)
XYZxyz(5.6839, 6.9589, 1.7531)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E15 #19154E
analogous
#4E3615 #4A4E15 #2E4E15
triadic
#4A4E15 #154A4E #4E154A
tetradic
#4A4E15 #154E36 #19154E #4E152E
square
#4A4E15 #154E36 #19154E #4E152E
split-complementary
#4A4E15 #152E4E #36154E
monochromatic
#171806 #1C1E08 #4A4E15 #787E22 #A5AE2F

Accessibility & contrast

On white

8.78
#4A4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4E15
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E15#FFFFFF#000000##FFFFFF
##4A4E151.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0D
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#4F4942
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4e15;
/* rgb */ color: rgb(74, 78, 21);
/* oklch */ color: oklch(40.8% 0.078 113.2);
Tailwind
colors: {
  custom: {
    50: '#7f7f56',
    500: '#4a4e15',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e15;
$custom-light: #7f7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e15",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 64.211,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.0778,
    "h": 113.2
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#4A4E15
secondary
#3E3986
accent
#47E152
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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