#4F500F#4F500F

#4F500F is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.083 H 110.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4F500F
RGBrgb(79, 80, 15)
HSLhsl(61, 68%, 19%)
HSVhsv(61, 81%, 31%)
CMYKcmyk(1.2%, 0%, 81.3%, 68.6%)
CIE-LABlab(32.78, -9.19, 35.51)
CIE-LCHlch(32.78, 36.68, 104.51°)
OKLaboklab(41.73% -0.029 0.078)
OKLCHoklch(41.73% 0.083 110.4)
XYZxyz(6.1796, 7.4343, 1.5613)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F500F #100F50
analogous
#50300F #4F500F #2E500F
triadic
#4F500F #0F4F50 #500F4F
tetradic
#4F500F #0F5030 #100F50 #500F2E
square
#4F500F #0F5030 #100F50 #500F2E
split-complementary
#4F500F #0F2E50 #300F50
monochromatic
#191A05 #1C1C05 #4F500F #828419 #B5B722

Accessibility & contrast

On white

8.44
#4F500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F500F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F500F#FFFFFF#000000##FFFFFF
##4F500F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C03
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#554A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f500f;
/* rgb */ color: rgb(79, 80, 15);
/* oklch */ color: oklch(41.7% 0.083 110.4);
Tailwind
colors: {
  custom: {
    50: '#838053',
    500: '#4f500f',
    950: '#000000',
  },
}
SCSS
$custom: #4f500f;
$custom-light: #838053;
$custom-dark: #000000;
JSON
{
  "hex": "#4f500f",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 60.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.08325,
    "h": 110.4
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#4F500F
secondary
#32318A
accent
#3DEB3F
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F500F

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

Preview Lab → · Contrast checker → · Palette generator →

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