#4B5010#4B5010

#4B5010 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.4% C 0.084 H 114.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4B5010
RGBrgb(75, 80, 16)
HSLhsl(65, 67%, 19%)
HSVhsv(65, 80%, 31%)
CMYKcmyk(6.2%, 0%, 80%, 68.6%)
CIE-LABlab(32.42, -11.12, 34.65)
CIE-LCHlch(32.42, 36.38, 107.79°)
OKLaboklab(41.36% -0.0341 0.0766)
OKLCHoklch(41.36% 0.084 114)
XYZxyz(5.8640, 7.2707, 1.5846)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5010 #151050
analogous
#503510 #4B5010 #2B5010
triadic
#4B5010 #104B50 #50104B
tetradic
#4B5010 #105035 #151050 #50102B
square
#4B5010 #105035 #151050 #50102B
split-complementary
#4B5010 #102B50 #351050
monochromatic
#181A05 #1B1D06 #4B5010 #7B831A #ABB624

Accessibility & contrast

On white

8.56
#4B5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B5010
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5010#FFFFFF#000000##FFFFFF
##4B50101.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C04
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#514B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b5010;
/* rgb */ color: rgb(75, 80, 16);
/* oklch */ color: oklch(41.4% 0.084 114.0);
Tailwind
colors: {
  custom: {
    50: '#808054',
    500: '#4b5010',
    950: '#000000',
  },
}
SCSS
$custom: #4b5010;
$custom-light: #808054;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5010",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 64.688,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.08379,
    "h": 114
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#4B5010
secondary
#39328A
accent
#3EEA4C
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5010

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

Preview Lab → · Contrast checker → · Palette generator →

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