#4B5015#4B5015

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

Color values

HEX#4B5015
RGBrgb(75, 80, 21)
HSLhsl(65, 58%, 20%)
HSVhsv(65, 74%, 31%)
CMYKcmyk(6.2%, 0%, 73.7%, 68.6%)
CIE-LABlab(32.45, -10.81, 32.54)
CIE-LCHlch(32.45, 34.29, 108.37°)
OKLaboklab(41.4% -0.0326 0.0731)
OKLCHoklch(41.4% 0.08 114.1)
XYZxyz(5.9058, 7.2874, 1.8048)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5015 #1A1550
analogous
#503815 #4B5015 #2D5015
triadic
#4B5015 #154B50 #50154B
tetradic
#4B5015 #155038 #1A1550 #50152D
square
#4B5015 #155038 #1A1550 #50152D
split-complementary
#4B5015 #152D50 #381550
monochromatic
#171806 #1E2008 #4B5015 #788022 #A6B12E

Accessibility & contrast

On white

8.55
#4B5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4B5015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B5015
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5015#FFFFFF#000000##FFFFFF
##4B50151.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0C
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#504B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b5015;
/* rgb */ color: rgb(75, 80, 21);
/* oklch */ color: oklch(41.4% 0.080 114.1);
Tailwind
colors: {
  custom: {
    50: '#7f8156',
    500: '#4b5015',
    950: '#000000',
  },
}
SCSS
$custom: #4b5015;
$custom-light: #7f8156;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5015",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 65.085,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.08007,
    "h": 114.1
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#4B5015
secondary
#403988
accent
#46E253
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5015

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

Preview Lab → · Contrast checker → · Palette generator →

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