#4F5110#4F5110

#4F5110 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.084 H 111.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4F5110
RGBrgb(79, 81, 16)
HSLhsl(62, 67%, 19%)
HSVhsv(62, 80%, 32%)
CMYKcmyk(2.5%, 0%, 80.2%, 68.2%)
CIE-LABlab(33.10, -9.72, 35.43)
CIE-LCHlch(33.10, 36.74, 105.35°)
OKLaboklab(42% -0.0304 0.0781)
OKLCHoklch(42% 0.084 111.3)
XYZxyz(6.2606, 7.5847, 1.6243)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5110 #121051
analogous
#513310 #4F5110 #2F5110
triadic
#4F5110 #104F51 #51104F
tetradic
#4F5110 #105133 #121051 #51102F
square
#4F5110 #105133 #121051 #51102F
split-complementary
#4F5110 #102F51 #331051
monochromatic
#191A05 #1D1E06 #4F5110 #81841A #B3B724

Accessibility & contrast

On white

8.34
#4F5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5110
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5110#FFFFFF#000000##FFFFFF
##4F51101.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D04
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#554B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f5110;
/* rgb */ color: rgb(79, 81, 16);
/* oklch */ color: oklch(42.0% 0.084 111.3);
Tailwind
colors: {
  custom: {
    50: '#838154',
    500: '#4f5110',
    950: '#000000',
  },
}
SCSS
$custom: #4f5110;
$custom-light: #838154;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5110",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 61.846,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41996,
    "c": 0.08377,
    "h": 111.3
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#4F5110
secondary
#35328B
accent
#3EEA43
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5110

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

Preview Lab → · Contrast checker → · Palette generator →

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