#4F5618#4F5618

#4F5618 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.4% C 0.084 H 115.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4F5618
RGBrgb(79, 86, 24)
HSLhsl(67, 56%, 22%)
HSVhsv(67, 72%, 34%)
CMYKcmyk(8.1%, 0%, 72.1%, 66.3%)
CIE-LABlab(34.77, -12.11, 33.66)
CIE-LCHlch(34.77, 35.77, 109.79°)
OKLaboklab(43.35% -0.0362 0.0759)
OKLCHoklch(43.35% 0.084 115.5)
XYZxyz(6.7173, 8.3839, 2.1284)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5618 #1F1856
analogous
#563E18 #4F5618 #305618
triadic
#4F5618 #184F56 #56184F
tetradic
#4F5618 #18563E #1F1856 #561830
square
#4F5618 #18563E #1F1856 #561830
split-complementary
#4F5618 #183056 #3E1856
monochromatic
#161807 #23260B #4F5618 #7B8625 #A7B633

Accessibility & contrast

On white

7.85
#4F5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5618
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5618#FFFFFF#000000##FFFFFF
##4F56181.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#545149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f5618;
/* rgb */ color: rgb(79, 86, 24);
/* oklch */ color: oklch(43.4% 0.084 115.5);
Tailwind
colors: {
  custom: {
    50: '#828559',
    500: '#4f5618',
    950: '#000000',
  },
}
SCSS
$custom: #4f5618;
$custom-light: #828559;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5618",
  "rgb": {
    "r": 79,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 66.774,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.08407,
    "h": 115.5
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#4F5618
secondary
#463D8D
accent
#48E059
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F5618

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

Preview Lab → · Contrast checker → · Palette generator →

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