#4F5215#4F5215

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

Color values

HEX#4F5215
RGBrgb(79, 82, 21)
HSLhsl(63, 59%, 20%)
HSVhsv(63, 74%, 32%)
CMYKcmyk(3.7%, 0%, 74.4%, 67.8%)
CIE-LABlab(33.46, -10.01, 33.68)
CIE-LCHlch(33.46, 35.13, 106.55°)
OKLaboklab(42.29% -0.0307 0.0754)
OKLCHoklch(42.29% 0.081 112.2)
XYZxyz(6.3773, 7.7511, 1.8695)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5215 #181552
analogous
#523615 #4F5215 #305215
triadic
#4F5215 #154F52 #52154F
tetradic
#4F5215 #155236 #181552 #521530
square
#4F5215 #155236 #181552 #521530
split-complementary
#4F5215 #153052 #361552
monochromatic
#171806 #202109 #4F5215 #7E8321 #ADB32E

Accessibility & contrast

On white

8.23
#4F5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5215
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5215#FFFFFF#000000##FFFFFF
##4F52151.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0C
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5215;
/* rgb */ color: rgb(79, 82, 21);
/* oklch */ color: oklch(42.3% 0.081 112.2);
Tailwind
colors: {
  custom: {
    50: '#838257',
    500: '#4f5215',
    950: '#000000',
  },
}
SCSS
$custom: #4f5215;
$custom-light: #838257;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5215",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 62.951,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.08137,
    "h": 112.2
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#4F5215
secondary
#3D398A
accent
#45E24D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5215

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

Preview Lab → · Contrast checker → · Palette generator →

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