#4A500F#4A500F

#4A500F is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.3% C 0.085 H 114.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4A500F
RGBrgb(74, 80, 15)
HSLhsl(66, 68%, 19%)
HSVhsv(66, 81%, 31%)
CMYKcmyk(7.5%, 0%, 81.3%, 68.6%)
CIE-LABlab(32.32, -11.66, 34.92)
CIE-LCHlch(32.32, 36.81, 108.47°)
OKLaboklab(41.26% -0.0356 0.077)
OKLCHoklch(41.26% 0.085 114.8)
XYZxyz(5.7791, 7.2278, 1.5425)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A500F #150F50
analogous
#50350F #4A500F #29500F
triadic
#4A500F #0F4A50 #500F4A
tetradic
#4A500F #0F5035 #150F50 #500F29
square
#4A500F #0F5035 #150F50 #500F29
split-complementary
#4A500F #0F2950 #350F50
monochromatic
#181A05 #1A1C05 #4A500F #7A8419 #A9B722

Accessibility & contrast

On white

8.59
#4A500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4A500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A500F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A500F#FFFFFF#000000##FFFFFF
##4A500F1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C03
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#4F4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a500f;
/* rgb */ color: rgb(74, 80, 15);
/* oklch */ color: oklch(41.3% 0.085 114.8);
Tailwind
colors: {
  custom: {
    50: '#7f8153',
    500: '#4a500f',
    950: '#000000',
  },
}
SCSS
$custom: #4a500f;
$custom-light: #7f8153;
$custom-dark: #000000;
JSON
{
  "hex": "#4a500f",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 65.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41255,
    "c": 0.08481,
    "h": 114.8
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#4A500F
secondary
#39318A
accent
#3DEB4D
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A500F

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

Preview Lab → · Contrast checker → · Palette generator →

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