#4F581E#4F581E

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

Color values

HEX#4F581E
RGBrgb(79, 88, 30)
HSLhsl(69, 49%, 23%)
HSVhsv(69, 66%, 35%)
CMYKcmyk(10.2%, 0%, 65.9%, 65.5%)
CIE-LABlab(35.47, -12.78, 31.53)
CIE-LCHlch(35.47, 34.03, 112.07°)
OKLaboklab(43.93% -0.0374 0.0724)
OKLCHoklch(43.93% 0.081 117.3)
XYZxyz(6.9486, 8.7355, 2.5481)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F581E #271E58
analogous
#58441E #4F581E #32581E
triadic
#4F581E #1E4F58 #581E4F
tetradic
#4F581E #1E5844 #271E58 #581E32
square
#4F581E #1E5844 #271E58 #581E32
split-complementary
#4F581E #1E3258 #441E58
monochromatic
#141708 #262A0E #4F581E #78862E #A1B33D

Accessibility & contrast

On white

7.64
#4F581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F581E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F581E#FFFFFF#000000##FFFFFF
##4F581E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f581e;
/* rgb */ color: rgb(79, 88, 30);
/* oklch */ color: oklch(43.9% 0.081 117.3);
Tailwind
colors: {
  custom: {
    50: '#82875d',
    500: '#4f581e',
    950: '#000000',
  },
}
SCSS
$custom: #4f581e;
$custom-light: #82875d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f581e",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 69.31,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.08147,
    "h": 117.3
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#4F581E
secondary
#50458D
accent
#4FD964
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F581E

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

Preview Lab → · Contrast checker → · Palette generator →

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