#4F5818#4F5818

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

Color values

HEX#4F5818
RGBrgb(79, 88, 24)
HSLhsl(68, 57%, 22%)
HSVhsv(68, 73%, 35%)
CMYKcmyk(10.2%, 0%, 72.7%, 65.5%)
CIE-LABlab(35.42, -13.25, 34.32)
CIE-LCHlch(35.42, 36.79, 111.11°)
OKLaboklab(43.87% -0.0394 0.0773)
OKLCHoklch(43.87% 0.087 117)
XYZxyz(6.8792, 8.7077, 2.1823)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5818 #211858
analogous
#584118 #4F5818 #2F5818
triadic
#4F5818 #184F58 #58184F
tetradic
#4F5818 #185841 #211858 #58182F
square
#4F5818 #185841 #211858 #58182F
split-complementary
#4F5818 #182F58 #411858
monochromatic
#161807 #24280B #4F5818 #7A8825 #A5B832

Accessibility & contrast

On white

7.66
#4F5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5818
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5818#FFFFFF#000000##FFFFFF
##4F58181.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530F
Deuteranopia (green-blind)
#5D541D
Tritanopia (blue-blind)
#54534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f5818;
/* rgb */ color: rgb(79, 88, 24);
/* oklch */ color: oklch(43.9% 0.087 117.0);
Tailwind
colors: {
  custom: {
    50: '#828759',
    500: '#4f5818',
    950: '#000000',
  },
}
SCSS
$custom: #4f5818;
$custom-light: #828759;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5818",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 68.438,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43869,
    "c": 0.08673,
    "h": 117
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#4F5818
secondary
#493D8F
accent
#47E05D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4F5818

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

Preview Lab → · Contrast checker → · Palette generator →

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