#4F5518#4F5518

#4F5518 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.1% C 0.083 H 114.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4F5518
RGBrgb(79, 85, 24)
HSLhsl(66, 56%, 21%)
HSVhsv(66, 72%, 33%)
CMYKcmyk(7.1%, 0%, 71.8%, 66.7%)
CIE-LABlab(34.45, -11.54, 33.33)
CIE-LCHlch(34.45, 35.27, 109.10°)
OKLaboklab(43.09% -0.0346 0.0752)
OKLCHoklch(43.09% 0.083 114.7)
XYZxyz(6.6380, 8.2253, 2.1019)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5518 #1E1855
analogous
#553D18 #4F5518 #315518
triadic
#4F5518 #184F55 #55184F
tetradic
#4F5518 #18553D #1E1855 #551831
square
#4F5518 #18553D #1E1855 #551831
split-complementary
#4F5518 #183155 #3D1855
monochromatic
#161807 #23250B #4F5518 #7B8525 #A8B433

Accessibility & contrast

On white

7.94
#4F5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5518
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5518#FFFFFF#000000##FFFFFF
##4F55181.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B510F
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#545049
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f5518;
/* rgb */ color: rgb(79, 85, 24);
/* oklch */ color: oklch(43.1% 0.083 114.7);
Tailwind
colors: {
  custom: {
    50: '#828459',
    500: '#4f5518',
    950: '#000000',
  },
}
SCSS
$custom: #4f5518;
$custom-light: #828459;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5518",
  "rgb": {
    "r": 79,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 65.902,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.08277,
    "h": 114.7
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

primary
#4F5518
secondary
#453D8C
accent
#49DF57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F5518

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

Preview Lab → · Contrast checker → · Palette generator →

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