#4A5010#4A5010

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

Color values

HEX#4A5010
RGBrgb(74, 80, 16)
HSLhsl(66, 67%, 19%)
HSVhsv(66, 80%, 31%)
CMYKcmyk(7.5%, 0%, 80%, 68.6%)
CIE-LABlab(32.33, -11.61, 34.53)
CIE-LCHlch(32.33, 36.43, 108.58°)
OKLaboklab(41.26% -0.0354 0.0764)
OKLCHoklch(41.26% 0.084 114.9)
XYZxyz(5.7864, 7.2307, 1.5810)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5010 #161050
analogous
#503610 #4A5010 #2A5010
triadic
#4A5010 #104A50 #50104A
tetradic
#4A5010 #105036 #161050 #50102A
square
#4A5010 #105036 #161050 #50102A
split-complementary
#4A5010 #102A50 #361050
monochromatic
#181A05 #1B1D06 #4A5010 #79831A #A8B624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5010#FFFFFF#000000##FFFFFF
##4A50101.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)
#564C04
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#4F4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a5010;
/* rgb */ color: rgb(74, 80, 16);
/* oklch */ color: oklch(41.3% 0.084 114.9);
Tailwind
colors: {
  custom: {
    50: '#7f8154',
    500: '#4a5010',
    950: '#000000',
  },
}
SCSS
$custom: #4a5010;
$custom-light: #7f8154;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5010",
  "rgb": {
    "r": 74,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 65.625,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.08414,
    "h": 114.9
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#4A5010
secondary
#3A328A
accent
#3EEA4E
background
#F7F7F5
surface
#EEEEE8
border
#C9C9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4A5010

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

Preview Lab → · Contrast checker → · Palette generator →

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