#4F5111#4F5111

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

Color values

HEX#4F5111
RGBrgb(79, 81, 17)
HSLhsl(62, 65%, 19%)
HSVhsv(62, 79%, 32%)
CMYKcmyk(2.5%, 0%, 79%, 68.2%)
CIE-LABlab(33.11, -9.67, 35.03)
CIE-LCHlch(33.11, 36.34, 105.43°)
OKLaboklab(42% -0.0302 0.0774)
OKLCHoklch(42% 0.083 111.3)
XYZxyz(6.2683, 7.5878, 1.6646)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5111 #131151
analogous
#513311 #4F5111 #2F5111
triadic
#4F5111 #114F51 #51114F
tetradic
#4F5111 #115133 #131151 #51112F
square
#4F5111 #115133 #131151 #51112F
split-complementary
#4F5111 #112F51 #331151
monochromatic
#191905 #1E1E06 #4F5111 #80841C #B2B626

Accessibility & contrast

On white

8.34
#4F5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5111
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5111#FFFFFF#000000##FFFFFF
##4F51111.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#554B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f5111;
/* rgb */ color: rgb(79, 81, 17);
/* oklch */ color: oklch(42.0% 0.083 111.3);
Tailwind
colors: {
  custom: {
    50: '#838154',
    500: '#4f5111',
    950: '#000000',
  },
}
SCSS
$custom: #4f5111;
$custom-light: #838154;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5111",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 61.875,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.0831,
    "h": 111.3
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#4F5111
secondary
#36348A
accent
#40E845
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5111

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

Preview Lab → · Contrast checker → · Palette generator →

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