#4B5017#4B5017

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

Color values

HEX#4B5017
RGBrgb(75, 80, 23)
HSLhsl(65, 55%, 20%)
HSVhsv(65, 71%, 31%)
CMYKcmyk(6.2%, 0%, 71.2%, 68.6%)
CIE-LABlab(32.47, -10.67, 31.63)
CIE-LCHlch(32.47, 33.38, 108.63°)
OKLaboklab(41.42% -0.032 0.0716)
OKLCHoklch(41.42% 0.078 114.1)
XYZxyz(5.9251, 7.2951, 1.9064)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5017 #1C1750
analogous
#503817 #4B5017 #2E5017
triadic
#4B5017 #174B50 #50174B
tetradic
#4B5017 #175038 #1C1750 #50172E
square
#4B5017 #175038 #1C1750 #50172E
split-complementary
#4B5017 #172E50 #381750
monochromatic
#161807 #1E2009 #4B5017 #788025 #A4AF32

Accessibility & contrast

On white

8.54
#4B5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B5017
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5017#FFFFFF#000000##FFFFFF
##4B50171.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b5017;
/* rgb */ color: rgb(75, 80, 23);
/* oklch */ color: oklch(41.4% 0.078 114.1);
Tailwind
colors: {
  custom: {
    50: '#7f8158',
    500: '#4b5017',
    950: '#000000',
  },
}
SCSS
$custom: #4b5017;
$custom-light: #7f8158;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5017",
  "rgb": {
    "r": 75,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 65.263,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41417,
    "c": 0.07839,
    "h": 114.1
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#4B5017
secondary
#423C87
accent
#49DF56
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B5017

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

Preview Lab → · Contrast checker → · Palette generator →

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