#4B510F#4B510F

#4B510F is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.6% C 0.086 H 114.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4B510F
RGBrgb(75, 81, 15)
HSLhsl(65, 69%, 19%)
HSVhsv(65, 81%, 32%)
CMYKcmyk(7.4%, 0%, 81.5%, 68.2%)
CIE-LABlab(32.73, -11.75, 35.34)
CIE-LCHlch(32.73, 37.24, 108.39°)
OKLaboklab(41.61% -0.0359 0.0778)
OKLCHoklch(41.61% 0.086 114.8)
XYZxyz(5.9305, 7.4153, 1.5707)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B510F #150F51
analogous
#51360F #4B510F #2A510F
triadic
#4B510F #0F4B51 #510F4B
tetradic
#4B510F #0F5136 #150F51 #510F2A
square
#4B510F #0F5136 #150F51 #510F2A
split-complementary
#4B510F #0F2A51 #360F51
monochromatic
#181A05 #1B1D05 #4B510F #7B8519 #ABB822

Accessibility & contrast

On white

8.46
#4B510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4B510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B510F
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B510F#FFFFFF#000000##FFFFFF
##4B510F1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#504C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b510f;
/* rgb */ color: rgb(75, 81, 15);
/* oklch */ color: oklch(41.6% 0.086 114.8);
Tailwind
colors: {
  custom: {
    50: '#808153',
    500: '#4b510f',
    950: '#000000',
  },
}
SCSS
$custom: #4b510f;
$custom-light: #808153;
$custom-dark: #000000;
JSON
{
  "hex": "#4b510f",
  "rgb": {
    "r": 75,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 65.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.4161,
    "c": 0.08571,
    "h": 114.8
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#4B510F
secondary
#39318B
accent
#3CEC4C
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4B510F

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

Preview Lab → · Contrast checker → · Palette generator →

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