#4F511F#4F511F

#4F511F is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.1% C 0.071 H 111.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4F511F
RGBrgb(79, 81, 31)
HSLhsl(62, 45%, 22%)
HSVhsv(62, 62%, 32%)
CMYKcmyk(2.5%, 0%, 61.7%, 68.2%)
CIE-LABlab(33.23, -8.65, 28.55)
CIE-LCHlch(33.23, 29.83, 106.86°)
OKLaboklab(42.14% -0.0256 0.0662)
OKLCHoklch(42.14% 0.071 111.2)
XYZxyz(6.4144, 7.6462, 2.4340)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F511F #211F51
analogous
#513A1F #4F511F #36511F
triadic
#4F511F #1F4F51 #511F4F
tetradic
#4F511F #1F513A #211F51 #511F36
square
#4F511F #1F513A #211F51 #511F36
split-complementary
#4F511F #1F3651 #3A1F51
monochromatic
#161608 #24250E #4F511F #7A7D30 #A5AA41

Accessibility & contrast

On white

8.30
#4F511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4F511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F511F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F511F#FFFFFF#000000##FFFFFF
##4F511F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#574F22
Tritanopia (blue-blind)
#544C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f511f;
/* rgb */ color: rgb(79, 81, 31);
/* oklch */ color: oklch(42.1% 0.071 111.2);
Tailwind
colors: {
  custom: {
    50: '#82815d',
    500: '#4f511f',
    950: '#000000',
  },
}
SCSS
$custom: #4f511f;
$custom-light: #82815d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f511f",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 62.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.07096,
    "h": 111.2
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#4F511F
secondary
#494686
accent
#53D459
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F511F

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

Preview Lab → · Contrast checker → · Palette generator →

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