#4F5613#4F5613

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

Color values

HEX#4F5613
RGBrgb(79, 86, 19)
HSLhsl(66, 64%, 21%)
HSVhsv(66, 78%, 34%)
CMYKcmyk(8.1%, 0%, 77.9%, 66.3%)
CIE-LABlab(34.73, -12.43, 35.78)
CIE-LCHlch(34.73, 37.88, 109.16°)
OKLaboklab(43.31% -0.0377 0.0794)
OKLCHoklch(43.31% 0.088 115.4)
XYZxyz(6.6700, 8.3650, 1.8792)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5613 #1A1356
analogous
#563B13 #4F5613 #2D5613
triadic
#4F5613 #134F56 #56134F
tetradic
#4F5613 #13563B #1A1356 #56132D
square
#4F5613 #13563B #1A1356 #56132D
split-complementary
#4F5613 #132D56 #3B1356
monochromatic
#171906 #212408 #4F5613 #7D881E #ABBA29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5613#FFFFFF#000000##FFFFFF
##4F56131.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)
#5D5107
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#555149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f5613;
/* rgb */ color: rgb(79, 86, 19);
/* oklch */ color: oklch(43.3% 0.088 115.4);
Tailwind
colors: {
  custom: {
    50: '#838556',
    500: '#4f5613',
    950: '#000000',
  },
}
SCSS
$custom: #4f5613;
$custom-light: #838556;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5613",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 66.269,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.08789,
    "h": 115.4
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#4F5613
secondary
#40368E
accent
#41E752
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5613

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

Preview Lab → · Contrast checker → · Palette generator →

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