#4F510E#4F510E

#4F510E is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.085 H 111.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4F510E
RGBrgb(79, 81, 14)
HSLhsl(62, 71%, 19%)
HSVhsv(62, 83%, 32%)
CMYKcmyk(2.5%, 0%, 82.7%, 68.2%)
CIE-LABlab(33.09, -9.82, 36.18)
CIE-LCHlch(33.09, 37.48, 105.19°)
OKLaboklab(41.98% -0.0309 0.0792)
OKLCHoklch(41.98% 0.085 111.3)
XYZxyz(6.2464, 7.5790, 1.5492)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F510E #100E51
analogous
#51310E #4F510E #2D510E
triadic
#4F510E #0E4F51 #510E4F
tetradic
#4F510E #0E5131 #100E51 #510E2D
square
#4F510E #0E5131 #100E51 #510E2D
split-complementary
#4F510E #0E2D51 #310E51
monochromatic
#191A05 #1C1D05 #4F510E #828517 #B5B920

Accessibility & contrast

On white

8.35
#4F510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F510E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F510E#FFFFFF#000000##FFFFFF
##4F510E1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D01
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#554B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f510e;
/* rgb */ color: rgb(79, 81, 14);
/* oklch */ color: oklch(42.0% 0.085 111.3);
Tailwind
colors: {
  custom: {
    50: '#838153',
    500: '#4f510e',
    950: '#000000',
  },
}
SCSS
$custom: #4f510e;
$custom-light: #838153;
$custom-dark: #000000;
JSON
{
  "hex": "#4f510e",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 61.791,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.08505,
    "h": 111.3
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#4F510E
secondary
#322F8C
accent
#3AED40
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F510E

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

Preview Lab → · Contrast checker → · Palette generator →

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