#4A500E#4A500E

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

Color values

HEX#4A500E
RGBrgb(74, 80, 14)
HSLhsl(65, 70%, 18%)
HSVhsv(65, 83%, 31%)
CMYKcmyk(7.5%, 0%, 82.5%, 68.6%)
CIE-LABlab(32.31, -11.72, 35.29)
CIE-LCHlch(32.31, 37.19, 108.36°)
OKLaboklab(41.25% -0.0359 0.0776)
OKLCHoklch(41.25% 0.085 114.8)
XYZxyz(5.7721, 7.2250, 1.5059)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A500E #140E50
analogous
#50350E #4A500E #29500E
triadic
#4A500E #0E4A50 #500E4A
tetradic
#4A500E #0E5035 #140E50 #500E29
square
#4A500E #0E5035 #140E50 #500E29
split-complementary
#4A500E #0E2950 #350E50
monochromatic
#181A05 #1A1C05 #4A500E #7A8417 #AAB820

Accessibility & contrast

On white

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

On black

2.44
#4A500E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A500E#FFFFFF#000000##FFFFFF
##4A500E1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a500e;
/* rgb */ color: rgb(74, 80, 14);
/* oklch */ color: oklch(41.2% 0.085 114.8);
Tailwind
colors: {
  custom: {
    50: '#7f8153',
    500: '#4a500e',
    950: '#000000',
  },
}
SCSS
$custom: #4a500e;
$custom-light: #7f8153;
$custom-dark: #000000;
JSON
{
  "hex": "#4a500e",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 65.455,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.08545,
    "h": 114.8
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#4A500E
secondary
#382F8B
accent
#3BED4B
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A500E

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

Preview Lab → · Contrast checker → · Palette generator →

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