#4F5219#4F5219

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

Color values

HEX#4F5219
RGBrgb(79, 82, 25)
HSLhsl(63, 53%, 21%)
HSVhsv(63, 70%, 32%)
CMYKcmyk(3.7%, 0%, 69.5%, 67.8%)
CIE-LABlab(33.49, -9.73, 31.86)
CIE-LCHlch(33.49, 33.32, 106.99°)
OKLaboklab(42.33% -0.0294 0.0723)
OKLCHoklch(42.33% 0.078 112.2)
XYZxyz(6.4174, 7.7672, 2.0807)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5219 #1C1952
analogous
#523819 #4F5219 #325219
triadic
#4F5219 #194F52 #52194F
tetradic
#4F5219 #195238 #1C1952 #521932
square
#4F5219 #195238 #1C1952 #521932
split-complementary
#4F5219 #193252 #381952
monochromatic
#171707 #22230B #4F5219 #7C8127 #A9B036

Accessibility & contrast

On white

8.22
#4F5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5219
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5219#FFFFFF#000000##FFFFFF
##4F52191.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E12
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5219;
/* rgb */ color: rgb(79, 82, 25);
/* oklch */ color: oklch(42.3% 0.078 112.2);
Tailwind
colors: {
  custom: {
    50: '#828259',
    500: '#4f5219',
    950: '#000000',
  },
}
SCSS
$custom: #4f5219;
$custom-light: #828259;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5219",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 63.158,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.07803,
    "h": 112.2
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#4F5219
secondary
#423E88
accent
#4BDD53
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4F5219

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

Preview Lab → · Contrast checker → · Palette generator →

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