#4A4F0E#4A4F0E

#4A4F0E 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#4A4F0E
RGBrgb(74, 79, 14)
HSLhsl(65, 70%, 18%)
HSVhsv(65, 82%, 31%)
CMYKcmyk(6.3%, 0%, 82.3%, 69%)
CIE-LABlab(31.99, -11.14, 34.99)
CIE-LCHlch(31.99, 36.72, 107.66°)
OKLaboklab(40.99% -0.0343 0.0769)
OKLCHoklch(40.99% 0.084 114)
XYZxyz(5.6995, 7.0796, 1.4816)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4F0E #130E4F
analogous
#4F330E #4A4F0E #294F0E
triadic
#4A4F0E #0E4A4F #4F0E4A
tetradic
#4A4F0E #0E4F33 #130E4F #4F0E29
square
#4A4F0E #0E4F33 #130E4F #4F0E29
split-complementary
#4A4F0E #0E294F #330E4F
monochromatic
#181A05 #191B05 #4A4F0E #7B8317 #ABB720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4F0E#FFFFFF#000000##FFFFFF
##4A4F0E1.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)
#554B02
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#4F4A43
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a4f0e;
/* rgb */ color: rgb(74, 79, 14);
/* oklch */ color: oklch(41.0% 0.084 114.0);
Tailwind
colors: {
  custom: {
    50: '#7f8053',
    500: '#4a4f0e',
    950: '#000000',
  },
}
SCSS
$custom: #4a4f0e;
$custom-light: #7f8053;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4f0e",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 64.615,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40987,
    "c": 0.0842,
    "h": 114
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#4A4F0E
secondary
#362F8A
accent
#3BED49
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A02
muted
#7C7C78

Preview Lab

Preview with #4A4F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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