#4F580E#4F580E

#4F580E is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.094 H 116.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4F580E
RGBrgb(79, 88, 14)
HSLhsl(67, 73%, 20%)
HSVhsv(67, 84%, 35%)
CMYKcmyk(10.2%, 0%, 84.1%, 65.5%)
CIE-LABlab(35.35, -13.82, 38.23)
CIE-LCHlch(35.35, 40.66, 109.88°)
OKLaboklab(43.79% -0.042 0.0836)
OKLCHoklch(43.79% 0.094 116.7)
XYZxyz(6.7936, 8.6735, 1.7317)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F580E #170E58
analogous
#583C0E #4F580E #2A580E
triadic
#4F580E #0E4F58 #580E4F
tetradic
#4F580E #0E583C #170E58 #580E2A
square
#4F580E #0E583C #170E58 #580E2A
split-complementary
#4F580E #0E2A58 #3C0E58
monochromatic
#181A04 #202306 #4F580E #7E8D16 #AEC21F

Accessibility & contrast

On white

7.68
#4F580E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4F580E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F580E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F580E#FFFFFF#000000##FFFFFF
##4F580E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5E5415
Tritanopia (blue-blind)
#55524A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f580e;
/* rgb */ color: rgb(79, 88, 14);
/* oklch */ color: oklch(43.8% 0.094 116.7);
Tailwind
colors: {
  custom: {
    50: '#838754',
    500: '#4f580e',
    950: '#000000',
  },
}
SCSS
$custom: #4f580e;
$custom-light: #838754;
$custom-dark: #000000;
JSON
{
  "hex": "#4f580e",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 14
  },
  "hsl": {
    "h": 67.297,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.09356,
    "h": 116.7
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#4F580E
secondary
#3C3092
accent
#39EF4F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F580E

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

Preview Lab → · Contrast checker → · Palette generator →

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