#4F5813#4F5813

#4F5813 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.090 H 116.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4F5813
RGBrgb(79, 88, 19)
HSLhsl(68, 64%, 21%)
HSVhsv(68, 78%, 35%)
CMYKcmyk(10.2%, 0%, 78.4%, 65.5%)
CIE-LABlab(35.38, -13.57, 36.41)
CIE-LCHlch(35.38, 38.85, 110.44°)
OKLaboklab(43.83% -0.0408 0.0807)
OKLCHoklch(43.83% 0.09 116.8)
XYZxyz(6.8319, 8.6888, 1.9332)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5813 #1C1358
analogous
#583E13 #4F5813 #2C5813
triadic
#4F5813 #134F58 #58134F
tetradic
#4F5813 #13583E #1C1358 #58132C
square
#4F5813 #13583E #1C1358 #58132C
split-complementary
#4F5813 #132C58 #3E1358
monochromatic
#171905 #222608 #4F5813 #7C8A1E #A9BD29

Accessibility & contrast

On white

7.67
#4F5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5813
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5813#FFFFFF#000000##FFFFFF
##4F58131.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#54534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f5813;
/* rgb */ color: rgb(79, 88, 19);
/* oklch */ color: oklch(43.8% 0.090 116.8);
Tailwind
colors: {
  custom: {
    50: '#838756',
    500: '#4f5813',
    950: '#000000',
  },
}
SCSS
$custom: #4f5813;
$custom-light: #838756;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5813",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 67.826,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43827,
    "c": 0.09045,
    "h": 116.8
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#4F5813
secondary
#423790
accent
#40E756
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5813

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

Preview Lab → · Contrast checker → · Palette generator →

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