#4F5014#4F5014

#4F5014 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.8% C 0.080 H 110.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4F5014
RGBrgb(79, 80, 20)
HSLhsl(61, 60%, 20%)
HSVhsv(61, 75%, 31%)
CMYKcmyk(1.2%, 0%, 75%, 68.6%)
CIE-LABlab(32.81, -8.91, 33.47)
CIE-LCHlch(32.81, 34.64, 104.90°)
OKLaboklab(41.77% -0.0277 0.0747)
OKLCHoklch(41.77% 0.08 110.3)
XYZxyz(6.2196, 7.4503, 1.7721)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5014 #151450
analogous
#503314 #4F5014 #315014
triadic
#4F5014 #144F50 #50144F
tetradic
#4F5014 #145033 #151450 #501431
square
#4F5014 #145033 #151450 #501431
split-complementary
#4F5014 #143150 #331450
monochromatic
#181806 #1F1F08 #4F5014 #7F8120 #B0B22C

Accessibility & contrast

On white

8.43
#4F5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4F5014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5014
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5014#FFFFFF#000000##FFFFFF
##4F50141.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0B
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#554B44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f5014;
/* rgb */ color: rgb(79, 80, 20);
/* oklch */ color: oklch(41.8% 0.080 110.3);
Tailwind
colors: {
  custom: {
    50: '#838056',
    500: '#4f5014',
    950: '#000000',
  },
}
SCSS
$custom: #4f5014;
$custom-light: #838056;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5014",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 61,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.07971,
    "h": 110.3
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#4F5014
secondary
#393888
accent
#45E347
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5014

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

Preview Lab → · Contrast checker → · Palette generator →

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