#4F581A#4F581A

#4F581A is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.9% C 0.085 H 117.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4F581A
RGBrgb(79, 88, 26)
HSLhsl(69, 54%, 22%)
HSVhsv(69, 70%, 35%)
CMYKcmyk(10.2%, 0%, 70.5%, 65.5%)
CIE-LABlab(35.43, -13.10, 33.42)
CIE-LCHlch(35.43, 35.90, 111.41°)
OKLaboklab(43.89% -0.0388 0.0757)
OKLCHoklch(43.89% 0.085 117.1)
XYZxyz(6.9008, 8.7164, 2.2960)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F581A #231A58
analogous
#58421A #4F581A #30581A
triadic
#4F581A #1A4F58 #581A4F
tetradic
#4F581A #1A5842 #231A58 #581A30
square
#4F581A #1A5842 #231A58 #581A30
split-complementary
#4F581A #1A3058 #421A58
monochromatic
#151807 #25290C #4F581A #798728 #A4B636

Accessibility & contrast

On white

7.66
#4F581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F581A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F581A#FFFFFF#000000##FFFFFF
##4F581A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#5D541E
Tritanopia (blue-blind)
#54534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f581a;
/* rgb */ color: rgb(79, 88, 26);
/* oklch */ color: oklch(43.9% 0.085 117.1);
Tailwind
colors: {
  custom: {
    50: '#82875a',
    500: '#4f581a',
    950: '#000000',
  },
}
SCSS
$custom: #4f581a;
$custom-light: #82875a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f581a",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 68.71,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.08506,
    "h": 117.1
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#4F581A
secondary
#4B408E
accent
#4ADE5F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F581A

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

Preview Lab → · Contrast checker → · Palette generator →

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