#4F5210#4F5210

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

Color values

HEX#4F5210
RGBrgb(79, 82, 16)
HSLhsl(63, 67%, 19%)
HSVhsv(63, 80%, 32%)
CMYKcmyk(3.7%, 0%, 80.5%, 67.8%)
CIE-LABlab(33.42, -10.30, 35.73)
CIE-LCHlch(33.42, 37.18, 106.09°)
OKLaboklab(42.25% -0.032 0.0787)
OKLCHoklch(42.25% 0.085 112.2)
XYZxyz(6.3355, 7.7344, 1.6493)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5210 #131052
analogous
#523410 #4F5210 #2E5210
triadic
#4F5210 #104F52 #52104F
tetradic
#4F5210 #105234 #131052 #52102E
square
#4F5210 #105234 #131052 #52102E
split-complementary
#4F5210 #102E52 #341052
monochromatic
#191A05 #1E1F06 #4F5210 #80851A #B2B824

Accessibility & contrast

On white

8.25
#4F5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5210
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5210#FFFFFF#000000##FFFFFF
##4F52101.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#554C45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5210;
/* rgb */ color: rgb(79, 82, 16);
/* oklch */ color: oklch(42.3% 0.085 112.2);
Tailwind
colors: {
  custom: {
    50: '#838254',
    500: '#4f5210',
    950: '#000000',
  },
}
SCSS
$custom: #4f5210;
$custom-light: #838254;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5210",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 62.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.08497,
    "h": 112.2
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#4F5210
secondary
#36328C
accent
#3EEA45
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5210

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

Preview Lab → · Contrast checker → · Palette generator →

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