#4C510F#4C510F

#4C510F is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.7% C 0.085 H 113.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4C510F
RGBrgb(76, 81, 15)
HSLhsl(65, 69%, 19%)
HSVhsv(65, 81%, 32%)
CMYKcmyk(6.2%, 0%, 81.5%, 68.2%)
CIE-LABlab(32.82, -11.26, 35.45)
CIE-LCHlch(32.82, 37.20, 107.61°)
OKLaboklab(41.7% -0.0346 0.078)
OKLCHoklch(41.7% 0.085 113.9)
XYZxyz(6.0093, 7.4560, 1.5744)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C510F #140F51
analogous
#51350F #4C510F #2B510F
triadic
#4C510F #0F4C51 #510F4C
tetradic
#4C510F #0F5135 #140F51 #510F2B
square
#4C510F #0F5135 #140F51 #510F2B
split-complementary
#4C510F #0F2B51 #350F51
monochromatic
#181A05 #1C1D05 #4C510F #7C8519 #ADB822

Accessibility & contrast

On white

8.43
#4C510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C510F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C510F#FFFFFF#000000##FFFFFF
##4C510F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D03
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#524C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c510f;
/* rgb */ color: rgb(76, 81, 15);
/* oklch */ color: oklch(41.7% 0.085 113.9);
Tailwind
colors: {
  custom: {
    50: '#818153',
    500: '#4c510f',
    950: '#000000',
  },
}
SCSS
$custom: #4c510f;
$custom-light: #818153;
$custom-dark: #000000;
JSON
{
  "hex": "#4c510f",
  "rgb": {
    "r": 76,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 64.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41703,
    "c": 0.08536,
    "h": 113.9
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#4C510F
secondary
#38318B
accent
#3CEC49
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C510F

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

Preview Lab → · Contrast checker → · Palette generator →

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