#4A5014#4A5014

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

Color values

HEX#4A5014
RGBrgb(74, 80, 20)
HSLhsl(66, 60%, 20%)
HSVhsv(66, 75%, 31%)
CMYKcmyk(7.5%, 0%, 75%, 68.6%)
CIE-LABlab(32.36, -11.36, 32.87)
CIE-LCHlch(32.36, 34.78, 109.07°)
OKLaboklab(41.3% -0.0342 0.0736)
OKLCHoklch(41.3% 0.081 114.9)
XYZxyz(5.8191, 7.2438, 1.7533)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5014 #1A1450
analogous
#503814 #4A5014 #2C5014
triadic
#4A5014 #144A50 #50144A
tetradic
#4A5014 #145038 #1A1450 #50142C
square
#4A5014 #145038 #1A1450 #50142C
split-complementary
#4A5014 #142C50 #381450
monochromatic
#171806 #1D1F08 #4A5014 #778120 #A5B22C

Accessibility & contrast

On white

8.58
#4A5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A5014
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5014#FFFFFF#000000##FFFFFF
##4A50141.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a5014;
/* rgb */ color: rgb(74, 80, 20);
/* oklch */ color: oklch(41.3% 0.081 114.9);
Tailwind
colors: {
  custom: {
    50: '#7f8156',
    500: '#4a5014',
    950: '#000000',
  },
}
SCSS
$custom: #4a5014;
$custom-light: #7f8156;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5014",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 66,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.08121,
    "h": 114.9
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#4A5014
secondary
#403888
accent
#45E354
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5014

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

Preview Lab → · Contrast checker → · Palette generator →

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