#4F5010#4F5010

#4F5010 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#4F5010
RGBrgb(79, 80, 16)
HSLhsl(61, 67%, 19%)
HSVhsv(61, 80%, 31%)
CMYKcmyk(1.2%, 0%, 80%, 68.6%)
CIE-LABlab(32.78, -9.14, 35.12)
CIE-LCHlch(32.78, 36.29, 104.58°)
OKLaboklab(41.74% -0.0288 0.0774)
OKLCHoklch(41.74% 0.083 110.4)
XYZxyz(6.1869, 7.4372, 1.5997)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5010 #111050
analogous
#503110 #4F5010 #2F5010
triadic
#4F5010 #104F50 #50104F
tetradic
#4F5010 #105031 #111050 #50102F
square
#4F5010 #105031 #111050 #50102F
split-complementary
#4F5010 #102F50 #311050
monochromatic
#191A05 #1D1D06 #4F5010 #81831A #B4B624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5010#FFFFFF#000000##FFFFFF
##4F50101.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)
#574C04
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#554A44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4f5010;
/* rgb */ color: rgb(79, 80, 16);
/* oklch */ color: oklch(41.7% 0.083 110.4);
Tailwind
colors: {
  custom: {
    50: '#838054',
    500: '#4f5010',
    950: '#000000',
  },
}
SCSS
$custom: #4f5010;
$custom-light: #838054;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5010",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 60.938,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.08259,
    "h": 110.4
  },
  "luminance": 0.07437
}

Semantic roles & 50–950 ramp

primary
#4F5010
secondary
#33328A
accent
#3EEA41
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5010

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

Preview Lab → · Contrast checker → · Palette generator →

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