#4A4F0F#4A4F0F

#4A4F0F is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.0% C 0.084 H 114.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4A4F0F
RGBrgb(74, 79, 15)
HSLhsl(65, 68%, 18%)
HSVhsv(65, 81%, 31%)
CMYKcmyk(6.3%, 0%, 81%, 69%)
CIE-LABlab(31.99, -11.09, 34.61)
CIE-LCHlch(31.99, 36.34, 107.76°)
OKLaboklab(40.99% -0.034 0.0763)
OKLCHoklch(40.99% 0.084 114)
XYZxyz(5.7064, 7.0824, 1.5183)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4F0F #140F4F
analogous
#4F340F #4A4F0F #2A4F0F
triadic
#4A4F0F #0F4A4F #4F0F4A
tetradic
#4A4F0F #0F4F34 #140F4F #4F0F2A
square
#4A4F0F #0F4F34 #140F4F #4F0F2A
split-complementary
#4A4F0F #0F2A4F #340F4F
monochromatic
#181A05 #1A1C05 #4A4F0F #7A8219 #AAB623

Accessibility & contrast

On white

8.69
#4A4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4F0F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4F0F#FFFFFF#000000##FFFFFF
##4A4F0F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B03
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#4F4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4f0f;
/* rgb */ color: rgb(74, 79, 15);
/* oklch */ color: oklch(41.0% 0.084 114.0);
Tailwind
colors: {
  custom: {
    50: '#7f8053',
    500: '#4a4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a4f0f;
$custom-light: #7f8053;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4f0f",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 64.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.08355,
    "h": 114
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#4A4F0F
secondary
#383189
accent
#3DEB4A
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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