#4F581C#4F581C

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

Color values

HEX#4F581C
RGBrgb(79, 88, 28)
HSLhsl(69, 52%, 23%)
HSVhsv(69, 68%, 35%)
CMYKcmyk(10.2%, 0%, 68.2%, 65.5%)
CIE-LABlab(35.45, -12.95, 32.49)
CIE-LCHlch(35.45, 34.98, 111.73°)
OKLaboklab(43.91% -0.0381 0.0741)
OKLCHoklch(43.91% 0.083 117.2)
XYZxyz(6.9239, 8.7256, 2.4178)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F581C #251C58
analogous
#58431C #4F581C #31581C
triadic
#4F581C #1C4F58 #581C4F
tetradic
#4F581C #1C5843 #251C58 #581C31
square
#4F581C #1C5843 #251C58 #581C31
split-complementary
#4F581C #1C3158 #431C58
monochromatic
#151707 #252A0D #4F581C #79862B #A2B53A

Accessibility & contrast

On white

7.65
#4F581C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4F581C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F581C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F581C#FFFFFF#000000##FFFFFF
##4F581C1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5314
Deuteranopia (green-blind)
#5D5420
Tritanopia (blue-blind)
#54534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f581c;
/* rgb */ color: rgb(79, 88, 28);
/* oklch */ color: oklch(43.9% 0.083 117.2);
Tailwind
colors: {
  custom: {
    50: '#82875b',
    500: '#4f581c',
    950: '#000000',
  },
}
SCSS
$custom: #4f581c;
$custom-light: #82875b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f581c",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 69,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43908,
    "c": 0.08331,
    "h": 117.2
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#4F581C
secondary
#4E428E
accent
#4DDB62
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F581C

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

Preview Lab → · Contrast checker → · Palette generator →

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