#4F5612#4F5612

#4F5612 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.3% C 0.089 H 115.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4F5612
RGBrgb(79, 86, 18)
HSLhsl(66, 65%, 20%)
HSVhsv(66, 79%, 34%)
CMYKcmyk(8.1%, 0%, 79.1%, 66.3%)
CIE-LABlab(34.72, -12.49, 36.18)
CIE-LCHlch(34.72, 38.27, 109.05°)
OKLaboklab(43.3% -0.0379 0.0801)
OKLCHoklch(43.3% 0.089 115.4)
XYZxyz(6.6616, 8.3616, 1.8352)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5612 #191256
analogous
#563B12 #4F5612 #2D5612
triadic
#4F5612 #124F56 #56124F
tetradic
#4F5612 #12563B #191256 #56122D
square
#4F5612 #12563B #191256 #56122D
split-complementary
#4F5612 #122D56 #3B1256
monochromatic
#171905 #212307 #4F5612 #7D891D #ACBB27

Accessibility & contrast

On white

7.86
#4F5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5612
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5612#FFFFFF#000000##FFFFFF
##4F56121.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#555149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f5612;
/* rgb */ color: rgb(79, 86, 18);
/* oklch */ color: oklch(43.3% 0.089 115.4);
Tailwind
colors: {
  custom: {
    50: '#838556',
    500: '#4f5612',
    950: '#000000',
  },
}
SCSS
$custom: #4f5612;
$custom-light: #838556;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5612",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 66.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.433,
    "c": 0.08858,
    "h": 115.4
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#4F5612
secondary
#3E358F
accent
#3FE851
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5612

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

Preview Lab → · Contrast checker → · Palette generator →

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