#4F5213#4F5213

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

Color values

HEX#4F5213
RGBrgb(79, 82, 19)
HSLhsl(63, 62%, 20%)
HSVhsv(63, 77%, 32%)
CMYKcmyk(3.7%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.44, -10.13, 34.53)
CIE-LCHlch(33.44, 35.99, 106.36°)
OKLaboklab(42.28% -0.0313 0.0768)
OKLCHoklch(42.28% 0.083 112.2)
XYZxyz(6.3595, 7.7440, 1.7757)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5213 #161352
analogous
#523613 #4F5213 #305213
triadic
#4F5213 #134F52 #52134F
tetradic
#4F5213 #135236 #161352 #521330
square
#4F5213 #135236 #161352 #521330
split-complementary
#4F5213 #133052 #361352
monochromatic
#181906 #1F2007 #4F5213 #7F841F #AFB52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5213#FFFFFF#000000##FFFFFF
##4F52131.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)
#594E08
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5213;
/* rgb */ color: rgb(79, 82, 19);
/* oklch */ color: oklch(42.3% 0.083 112.2);
Tailwind
colors: {
  custom: {
    50: '#838256',
    500: '#4f5213',
    950: '#000000',
  },
}
SCSS
$custom: #4f5213;
$custom-light: #838256;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5213",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 62.857,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.08289,
    "h": 112.2
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#4F5213
secondary
#3A368A
accent
#42E54A
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5213

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

Preview Lab → · Contrast checker → · Palette generator →

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