#4F5211#4F5211

#4F5211 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.084 H 112.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4F5211
RGBrgb(79, 82, 17)
HSLhsl(63, 66%, 19%)
HSVhsv(63, 79%, 32%)
CMYKcmyk(3.7%, 0%, 79.3%, 67.8%)
CIE-LABlab(33.43, -10.25, 35.34)
CIE-LCHlch(33.43, 36.80, 106.17°)
OKLaboklab(42.26% -0.0318 0.0781)
OKLCHoklch(42.26% 0.084 112.2)
XYZxyz(6.3431, 7.7375, 1.6895)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5211 #141152
analogous
#523511 #4F5211 #2F5211
triadic
#4F5211 #114F52 #52114F
tetradic
#4F5211 #115235 #141152 #52112F
square
#4F5211 #115235 #141152 #52112F
split-complementary
#4F5211 #112F52 #351152
monochromatic
#181905 #1E1F06 #4F5211 #80851C #B1B726

Accessibility & contrast

On white

8.24
#4F5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F5211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5211
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5211#FFFFFF#000000##FFFFFF
##4F52111.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E05
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#554C46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5211;
/* rgb */ color: rgb(79, 82, 17);
/* oklch */ color: oklch(42.3% 0.084 112.2);
Tailwind
colors: {
  custom: {
    50: '#838255',
    500: '#4f5211',
    950: '#000000',
  },
}
SCSS
$custom: #4f5211;
$custom-light: #838255;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5211",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 62.769,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.08431,
    "h": 112.2
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#4F5211
secondary
#38348B
accent
#3FE947
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5211

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

Preview Lab → · Contrast checker → · Palette generator →

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